mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-04 21:28:12 +08:00
Improve layer positioning in graph upon reordering; improve history system; add selection history (#1945)
* Improve layer positioning * Collapse space when deleting * Improve moving layers in layer panel * Improved transactions * Selection history * Code review * Select previous selection when aborting * Fix crash and artboard select * Add mouse forward/back button selection history bindings Code review * Menu buttons * Code review --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
432385343e
commit
9adc640f19
@@ -190,6 +190,20 @@ impl LayoutHolder for MenuBarMessageHandler {
|
||||
..MenuBarEntry::default()
|
||||
},
|
||||
],
|
||||
vec![
|
||||
MenuBarEntry {
|
||||
label: "Previous Selection".into(),
|
||||
shortcut: action_keys!(DocumentMessageDiscriminant::SelectionStepBack),
|
||||
action: MenuBarEntry::create_action(|_| DocumentMessage::SelectionStepBack.into()),
|
||||
..MenuBarEntry::default()
|
||||
},
|
||||
MenuBarEntry {
|
||||
label: "Next Selection".into(),
|
||||
shortcut: action_keys!(DocumentMessageDiscriminant::SelectionStepForward),
|
||||
action: MenuBarEntry::create_action(|_| DocumentMessage::SelectionStepForward.into()),
|
||||
..MenuBarEntry::default()
|
||||
},
|
||||
],
|
||||
vec![MenuBarEntry {
|
||||
label: "Delete Selected".into(),
|
||||
icon: Some("Trash".into()),
|
||||
|
||||
Reference in New Issue
Block a user