Wicklets / wick-editor

A free and open-source tool for creating games, animations and everything in-between!
https://www.wickeditor.com
GNU General Public License v3.0
638 stars 109 forks source link

Aspect Ratio should be locked by default while scaling. #35

Open Luxapodular opened 4 years ago

Luxapodular commented 4 years ago

Is your feature request related to a problem? Please describe. Scaling on mobile devices within a locked aspect ratio is not possible (without adding additional selection options).

Scaling with locked aspect ratio is often the desired action for most users.

Describe the solution you'd like Shift-drag should allow distorted aspect ratios for scaling, and regular drag should be locked to aspect ratio.

Describe alternatives you've considered Adding an additional option to the cursor to change the default scaling mode. This would further complicate the cursor.

Additional context A number of other programs use this system, including sketch, photoshop, illustrator, and other creative tools.

sporkl commented 3 years ago

A couple of thoughts. One idea is that maybe only lock the aspect ratio from scaling from a corner, but don't lock it when scaling from a side; this is generally in line with how I use corner and side scalars: when I use a corner one, I usually want the aspect ratio preserved, but not when I use a side one.

Another thought is a "lock aspect ratio" toggle in the inspector, near Width and Height. This is the approach used by many other tools including Inkscape and Krita; maybe have it on by default but able to be turned off?