EsotericSoftware / spine-editor

Issue tracking for the Spine editor.
http://esotericsoftware.com/
29 stars 2 forks source link

Add an option to constrain the X and Y axis values of each transformation #618

Open misaki-eymard opened 2 years ago

misaki-eymard commented 2 years ago

Adding an option to constrain (link) the X and Y axis values of each transformation would be beneficial to reduce some hassles. For example, if you want to enter exactly the same scaling value in X and Y, you currently have to enter it in each of the X and Y fields. It is tedious and also it might be the cause of accidental displacement of values.

This idea was proposed here: http://esotericsoftware.com/forum/Questions-Requests-according-to-entering-values-of-2-axis-16817

bencresty commented 2 years ago

+100 here!

Especially on the scale it happens a lot we'd like to control both scaling values (x and y) at the same time.

Cavalry (Motion Design software) has a great intuitive and fast way of handling this IMO: when clicking-and-sliding to slide-increment or -decrement any value inside a textbox of a parameter that contains both an x- and a y-channel (translate, scale, skew), so is dual channel, the other channel moves along with it! So when holding alt (on windows) and slide for instance the scale-x value, its y-value will slide with it (gets the same value while holding the alt-key and moving up or down)

Please see video below; when holding alt when sliding a value up or down, the other value pops to the same value and slides with it to keep 'm in sync. When sliding without alt just the single value changes. This works on every property with an x and y value.

It's nice to be able to lock values with a checkbutton too, but this way you don't even need to check and uncheck such a box and don't need more UI space to place yet another button. Once used to this it's just muscle memory and works pretty great and fast.

BTW I don't know Cinema 4d, but I wouldn't be surprised if this is inspired by that software as the creators of Cavalry were inspired by Cinema4d with a lot of things.

https://user-images.githubusercontent.com/69322733/184977355-d88720df-b808-4967-be71-3e212c20360e.mp4