Moving lens on drag #689
Replies: 1 comment 1 reply
-
Hi @simonwarchol I don't think we have any lens behavior for clicking and dragging. How do you see this being different than clicking and dragging the image which moves it? If I'm understanding you right, you'd probably need to override this first, no? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi yall,
Wondering where the lense behavior for clicking and dragging is handled? I'm trying to invert the default lens behavior, such that clicking and dragging the lens moves it and otherwise the canvas moves.
I've tried binding the moseMove event to a wider swath of events in https://uber-web.github.io/mjolnir.js/docs/api-reference/event-manager, but would assume this would be handled by
mousemove
. Is there some code that specifically prevents the lens from moving when clicking and dragging?Thanks so much,
Simon
Beta Was this translation helpful? Give feedback.
All reactions