mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-28 14:38:11 +08:00
Add 'select all points' method to ShapeState struct (#1386)
* Added select all points method to ShapeState struct * Map select_all_points functions to shortcut * Make SelectAllPoints action relevant in the current context only * Refactor select_all_points to only select anchors * Fix(editor): enable selected point update after selection change via clicking
This commit is contained in:
@@ -180,6 +180,7 @@ pub fn default_mapping() -> Mapping {
|
||||
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!(KeyDown(Delete); action_dispatch=PathToolMessage::Delete),
|
||||
entry!(KeyDown(KeyA); modifiers=[Control], action_dispatch=PathToolMessage::SelectAllPoints),
|
||||
entry!(KeyDown(Backspace); action_dispatch=PathToolMessage::Delete),
|
||||
entry!(KeyUp(Lmb); action_dispatch=PathToolMessage::DragStop { shift_mirror_distance: Shift }),
|
||||
entry!(KeyDown(Enter); action_dispatch=PathToolMessage::Enter {
|
||||
|
||||
Reference in New Issue
Block a user