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
So I added zoom:50% to the css class definition for "workspace". As you can see the rescaling now is a little weird.
See this example: https://codesandbox.io/s/y27rpz7mnj
I that is because you use event.pageX and event.pageY for calculation without taking into account if there is a zoom level applied or not.
The text was updated successfully, but these errors were encountered:
demobiel
changed the title
When the "workspace" is zoome via CSS, the object is not resized as it should
When the "workspace" is zoomed via CSS, the object is not resized as it should
Oct 8, 2018
So I added zoom:50% to the css class definition for "workspace". As you can see the rescaling now is a little weird.
See this example: https://codesandbox.io/s/y27rpz7mnj
I that is because you use event.pageX and event.pageY for calculation without taking into account if there is a zoom level applied or not.
The text was updated successfully, but these errors were encountered: