-
-
Notifications
You must be signed in to change notification settings - Fork 634
Closed
Labels
Milestone
Description
I need to refactor $Handles & OnCanvasObject. Currently $Handles doesn't really know about the object it's supposed to affect. It uses a callback with a delta position and absolute width/height... It listens for an event to know when the element of the object it's supposed to affect is replaced... and most importantly, it gets the dimensions of the object from getBoundingClientRect. Simply dividing by the magnification level "helps", but it has other issues because it doesn't have a proper source of truth for the dimensions.
Ajedi32 and elamperti