Add a pivot widget to selected layer(s) to control the origin(s) (#772)

* Add pivot

* Add dragging pivot

* Cleanup

* Remove tabs

* Fix multiplication order

* Restyle pivot

* Add move cursor icon

* Update pivot size

* Code review tweaks

* Fix alt with non-centred pivot

* Comment for add one

* Pivot sets layer panel origin

* Tweek alt centre thing

* Fix division by zero case

* Add pivot dots to properties

* FIx some typos

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
0HyperCube
2022-08-30 14:36:33 -07:00
committed by GitHub
co-authored by Keavon Chambers
parent 1e723b8c86
commit 131f24300a
13 changed files with 360 additions and 37 deletions
@@ -25,6 +25,7 @@ pub enum MouseCursorIcon {
Grabbing,
Crosshair,
Text,
Move,
NSResize,
EWResize,
NESWResize,