mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 07:18:12 +08:00
Improve document tilt and reset
This commit is contained in:
@@ -273,8 +273,8 @@ impl LayoutHolder for MenuBarMessageHandler {
|
||||
},
|
||||
MenuBarEntry {
|
||||
label: "Reset Tilt".into(),
|
||||
shortcut: action_keys!(NavigationMessageDiscriminant::SetCanvasRotation),
|
||||
action: MenuBarEntry::create_action(|_| NavigationMessage::SetCanvasRotation { angle_radians: 0.into() }.into()),
|
||||
shortcut: action_keys!(NavigationMessageDiscriminant::SetCanvasTilt),
|
||||
action: MenuBarEntry::create_action(|_| NavigationMessage::SetCanvasTilt { angle_radians: 0.into() }.into()),
|
||||
disabled: no_active_document,
|
||||
..MenuBarEntry::default()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user