Navigation: hold Space to pan (#1754)

Thanks @styles01.
This commit is contained in:
James Aita authored and GitHub committed 2026-10-17 04:09:48 -04:00
1 parent ff7f3204d5
commit a5003da9d7
3 files changed
+48 -3

No files matched your search

+1 -1
View File
@@ -1139,7 +1139,7 @@ fn page(app: &mut SolveApp, ui: &mut egui::Ui, t: &Tokens) {
note(ui, crate::i18n::tr("nav.touchpad.help"));
} else {
let snap_help = if app.preferences.nav == OPENSCAD_NAV { "" } else { "; hold Shift during orbit to snap" };
let raw_help = format!("{}; Ctrl+left drag on empty space orbits{snap_help}; the wheel zooms", nav_preset(&app.preferences.nav).help);
let raw_help = format!("{}; Ctrl+left drag on empty space orbits{snap_help}; hold Space to pan; the wheel zooms", nav_preset(&app.preferences.nav).help);
note(ui, crate::i18n::tr_label(&raw_help));
}
ui.label(crate::i18n::tr_label("Context menu"));