You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Win2D to draw an image, and implement panning feature.
The problem is when I press, and move the mouse cursor out of the Canvas control, the pointer capture is lost.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using Win2D to draw an image, and implement panning feature.
The problem is when I press, and move the mouse cursor out of the Canvas control, the pointer capture is lost.
Any idea to prevent this?
Something similar to the
setPointerCapture
API in JavaScript: https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCaptureThanks
Beta Was this translation helpful? Give feedback.
All reactions