mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-24 07:28:11 +08:00
Add molding segments to the Path tool (#2660)
* Moulding of cubic bezier * Implemented falloff with interpolation * remove conflict * Move falloff to consts * Spelling * Refine falloff param and bug fix * Code review * Add colinear disable modes to molding degment feat * Clean comments and unused code * Code refactor * Fix error * Change colinear toggle behaviour * Code review * Remove KeyC feat + Fix overlay * Dynamic hints in path tool * Revamp molding logic * Code review * Remove unused Bezier algorithms (maybe useful for future reference) --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
committed by
Keavon Chambers
co-authored by
Keavon Chambers
parent
4696004dc9
commit
f72263f4f8
@@ -218,7 +218,7 @@ pub fn input_mappings() -> Mapping {
|
||||
entry!(KeyDown(KeyG); action_dispatch=PathToolMessage::GRS { key: KeyG }),
|
||||
entry!(KeyDown(KeyR); action_dispatch=PathToolMessage::GRS { key: KeyR }),
|
||||
entry!(KeyDown(KeyS); action_dispatch=PathToolMessage::GRS { key: KeyS }),
|
||||
entry!(PointerMove; refresh_keys=[KeyC, Space, Control, Shift, Alt], action_dispatch=PathToolMessage::PointerMove { toggle_colinear: KeyC, equidistant: Alt, move_anchor_with_handles: Space, snap_angle: Shift, lock_angle: Control, delete_segment: Alt }),
|
||||
entry!(PointerMove; refresh_keys=[KeyC, Space, Control, Shift, Alt], action_dispatch=PathToolMessage::PointerMove { toggle_colinear: KeyC, equidistant: Alt, move_anchor_with_handles: Space, snap_angle: Shift, lock_angle: Control, delete_segment: Alt, break_colinear_molding: Alt }),
|
||||
entry!(KeyDown(Delete); action_dispatch=PathToolMessage::Delete),
|
||||
entry!(KeyDown(KeyA); modifiers=[Accel], action_dispatch=PathToolMessage::SelectAllAnchors),
|
||||
entry!(KeyDown(KeyA); modifiers=[Accel, Shift], action_dispatch=PathToolMessage::DeselectAllPoints),
|
||||
|
||||
Reference in New Issue
Block a user