mudcube/Event.js

Issue w/ CSS Rotation or Scale + event

Opened this issue · 1 comments

Could it be that the Drag offsets are always page relative? So if I rotate a div by 180° and i try to drag a child of that div all offsets are flipped.

The library does not have CSS transform support, unfortunately is not trivial to add. The library is more meant for plugging into Canvas elements, or WebGL elements. It should work fine for any element that doesn't include CSS transforms.