Add Freehand tool drawing new subpaths on an existing layer with Shift held

This commit is contained in:
Keavon Chambers
2024-12-17 22:01:42 -08:00
parent 3423c8ec13
commit ed119ad3d7
3 changed files with 41 additions and 20 deletions

View File

@@ -258,7 +258,7 @@ pub fn input_mappings() -> Mapping {
//
// FreehandToolMessage
entry!(PointerMove; action_dispatch=FreehandToolMessage::PointerMove),
entry!(KeyDown(MouseLeft); action_dispatch=FreehandToolMessage::DragStart),
entry!(KeyDown(MouseLeft); action_dispatch=FreehandToolMessage::DragStart { append_to_selected: Shift }),
entry!(KeyUp(MouseLeft); action_dispatch=FreehandToolMessage::DragStop),
entry!(KeyDown(MouseRight); action_dispatch=FreehandToolMessage::Abort),
entry!(KeyDown(Escape); action_dispatch=FreehandToolMessage::Abort),