Boutillier
74624bb531
Fix crashes related to 0-scale shapes ( #777 )
...
* Fix crashes when dragging the bounding box/transform cage of a 0-scale shape.
* Fix crashes when dragging the pivot point of a 0-scale shape
* Fix rotation computation on DAffine2 when scale.x is 0, avoids Nan display
* remove remaining log::info that I introduced in earlier commit
* Fix crash when updating the scale of a transform that was already 0.
* Fix NumberInput behaviour when the requested value changed is does not happen.
* Fix rotation computation when Scale X and Scale Y are both 0. Display 0. This also fixes crashes when modifying the rotation in such case
2022-09-12 01:46:11 -07:00
0HyperCube
74737bc13d
#[macro_use] the log crate ( #775 )
2022-09-08 13:14:01 -07:00
Keavon Chambers
242a242809
Improve wording on the website home page; add a volunteer icon
2022-09-04 14:31:08 -07:00
0HyperCube and Keavon Chambers
131f24300a
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 >
2022-08-30 14:36:33 -07:00
Keavon Chambers
1e723b8c86
Add the Pivot Assist widget
...
Part of #525
2022-08-29 00:08:01 -07:00
0HyperCube and Keavon Chambers
440a9a6dd6
Fix transformation cage centered-scaling to use the center as its pivot ( #769 )
...
* Add centre of transformation
* Add alt support
* New breaking file format version
* Spelling
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2022-08-28 17:30:45 -07:00
0HyperCube and Keavon Chambers
a6bdabcbaa
Add Alt-dragging to duplicate layers ( #762 )
...
* Add alt drag to duplicate
* Allow duplicating whilst dragging
* Remove unused variable
* Clearer names for functions
* Better renaming of functions
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2022-08-28 13:33:21 -07:00
0HyperCube and Keavon Chambers
cac92ad9a2
Fix fast drag with path tool eating handles ( #763 )
...
* Fix fast drag with path tool eating handles
* Remove extra space
* Import ordering
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2022-08-27 18:19:20 -07:00
0HyperCube and Keavon Chambers
3c2bc04c3c
Stop dragging after deselecting point with Shift key ( #764 )
...
Stop dragging after deselecting point with shift
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2022-08-27 17:38:45 -07:00
0HyperCube and Keavon Chambers
3775aedab1
Add point insertion to the Path tool ( #754 )
...
* Messaging cleanup
* Add bezier iter
* Add splitting
* Use bezier_rs bounding box
* Cleanup
* Fix comments
* Fix typo
* Code review tweaks
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2022-08-21 14:43:24 -07:00
0HyperCube and Keavon Chambers
d8b4055bcb
Add path closing and segment extension to the Pen tool ( #753 )
...
* Close paths with pen tool
* Issue Z command always at end of path
* Small code review style changes
* Extending paths
* Fix mirror on extend path
* Code review tweaks
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2022-08-20 16:36:17 -07:00
Daniel Childs
a40b6a0aa1
Nudge selected artboard with arrow keys ( #701 ) ( #756 )
2022-08-20 13:13:22 -07:00
Keavon Chambers
d8ae727ea9
Rename MovementMessage to NavigationMessage
2022-08-11 17:20:10 -07:00
Keavon Chambers
0f6ecefb3f
Revamp key/code input processing which fixes Option key on Mac and other locales
...
Closes #742
Closes #746
2022-08-11 02:53:46 -07:00
Keavon Chambers
c235c7f252
Additional cleanup of prelude imports in editor codebase
...
Closes #744
2022-08-05 17:12:56 -07:00
Keavon Chambers
ddfd7db0a0
Restructure the entire editor codebase to consistently match the message hierarchy
...
Closes #744
2022-08-05 17:13:43 -07:00