I’ve been playing a bit with the new Affine Transform code, and it’s really cool.
I created a simple component and a slider to apply the rotate transform like in the demo and everything is fine.
Now I want to drag the component around with the mouse,
so I just add a ComponentDragger in it and I call its proper functions like explained in the comments.
The component becomes draggable, but when mouseDrag() is called it jumps to a wrong position.
So what’s the best way to drag around a transformed component?