Fix path tool

This commit is contained in:
hypercube
2023-10-17 11:02:06 -07:00
committed by Keavon Chambers
parent 4cd72edb64
commit 0d6bec837b
8 changed files with 164 additions and 210 deletions
@@ -180,7 +180,7 @@ pub fn default_mapping() -> Mapping {
//
// PathToolMessage
entry!(KeyDown(Lmb); action_dispatch=PathToolMessage::DragStart { add_to_selection: Shift }),
entry!(PointerMove; refresh_keys=[Alt, Shift], action_dispatch=PathToolMessage::PointerMove { alt_mirror_angle: Alt, shift_mirror_distance: Shift }),
entry!(PointerMove; refresh_keys=[Alt, Shift], action_dispatch=PathToolMessage::PointerMove { alt: Alt, shift: Shift }),
entry!(KeyDown(Delete); action_dispatch=PathToolMessage::Delete),
entry!(KeyDown(KeyA); modifiers=[Control], action_dispatch=PathToolMessage::SelectAllPoints),
entry!(KeyDown(Backspace); action_dispatch=PathToolMessage::Delete),