armory3d / armory2d

2D Editor
zlib License
83 stars 24 forks source link

Prevent transformation immediately after selecting an element #60

Closed N8n5h closed 3 years ago

N8n5h commented 3 years ago

This solves a situation where you may inadvertently transform an element when trying to select it. At the moment you have to be very deliberate when clicking to avoid this:

before

The solution was to simply prevent the transformation immediately after selecting the element, and thus requiring an extra step. First select, then transform.

after

It may be a bit cumbersome for the users that are used to this behavior, but I think it's more inconvenient having to undo (manually) unwanted transformations when trying to select elements every time if you are not careful enough, since the transform buttons are not obvious before selection.