Understanding why my matrix resets to 0. #104
Unanswered
brutal-orange
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to the world of matrix transformations. I'm trying to build a resizable/draggable/rotatable/scalable item all-in-one. The initial movement of the item works, as seen in this CSB (drag the box using the handle, let go, then drag again), but every time I re-drag it, it resets. I've dumped and checked the
initialElementLeft
andinitialElementLeft + offsetX
multiple times, and even though they look correct, my matrix resets to atranslateX
of0 + offsetX
.What exactly am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions