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 sure similar question has been asked here before, since it seems to be a common use case. But I couldn't find solutions for my issue on docs or discussions, hence posting a new question.
I am trying to implement zoom/pan features into my whiteboard app alongwith the freedrawing tool. The issue I face is, after I have zoomed in or out, I notice some offset between my pointer location and where the actual shape is drawn on the board. How do I fix this?
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 sure similar question has been asked here before, since it seems to be a common use case. But I couldn't find solutions for my issue on docs or discussions, hence posting a new question.
I am trying to implement zoom/pan features into my whiteboard app alongwith the freedrawing tool. The issue I face is, after I have zoomed in or out, I notice some offset between my pointer location and where the actual shape is drawn on the board. How do I fix this?
I have created a reproducible example in the codepen below, using code samples from the docs.
https://codepen.io/shubhendumadhukar/pen/wBwpaPq
Beta Was this translation helpful? Give feedback.
All reactions