In the stack of transformations, change the rotation to be applied to the surface before the absolute positioning. Doing so avoids having to undo and redo the absolute positioning, and we can simply use the surface center in local coordinates as the origin. This fixes the surface move. Before, the surface moved along the surface local axis, but the user expects it to move along the global axis with the pointer. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>dev
parent
becfcbfbd2
commit
7b3bd3d8b6
Loading…
Reference in new issue