Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Merge presentation-exit: View: leave Presentation mode with Esc or Shift+W

aiongg65b91a080282
diff --cc crates/ui-egui/src/menus.rs
index d29e07845,a1f7637ec..35323d97a
--- a/crates/ui-egui/src/menus.rs
+++ b/crates/ui-egui/src/menus.rs
@@@ -110,12 -85,12 +110,18 @@@ pub const UI_COMMANDS: &[(&str, &str, O
("view.zoom", "Zoom To", None, "{zoom: 1.0 = 100%}"),
("view.screenMode", "Screen Mode", None, "{mode: normal|preview|bleed|slug|presentation}"),
("view.togglePreview", "Toggle Normal/Preview", Some("W"), "{}"),
+ (
+ "view.togglePresentation",
+ "Toggle Presentation",
+ Some("Shift+W"),
+ "{} — enters Presentation, or returns to the mode it was entered from; Esc also leaves it",
+ ),
+ (
+ "app.formattingAffectsText",
+ "Formatting Affects Text",
+ Some("J"),
+ "{on?: bool} — with text frames selected, colours go to their text (on) or the frames (off); toggles without `on`",
+ ),
("view.frameEdges", "Show/Hide Frame Edges", Some("Cmd+H"), "{}"),
("view.rulers", "Show/Hide Rulers", Some("Cmd+R"), "{}"),
("view.guides", "Show/Hide Guides", Some("Cmd+;"), "{}"),