View keys: arrows turn the view, Ctrl+arrows pan, Ctrl+8 looks at the selection (#1541) (#1585)

Thanks @DuBearte.
This commit is contained in:
DuBearte authored and GitHub committed 2026-10-16 00:27:12 -04:00
1 parent 8f5073ff14
commit ac3a25fb5b
5 files changed
+151 -6

No files matched your search

+3
View File
@@ -1305,6 +1305,9 @@ pub fn shortcuts(app: &mut SolveApp, ctx: &egui::Context) {
}
for k in keys {
use egui::Key;
if shown && crate::navigation::view_key(app, ctx, k, mods) {
continue;
}
if mods.command {
match k {
Key::N => crate::documents::new_design(app),