Skip to content

Commit

Permalink
Add cmd+, shortcut for setting screen
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Nov 13, 2024
1 parent 588365a commit 9f6d3fc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion crates/viewer/re_ui/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,14 @@ impl UICommand {
Self::ToggleSelectionPanel => Some(ctrl_shift(Key::S)),
Self::ToggleTimePanel => Some(ctrl_shift(Key::T)),
Self::ToggleChunkStoreBrowser => Some(ctrl_shift(Key::D)),
Self::Settings => None,
Self::Settings => {
if cfg!(target_os = "macos") {
Some(KeyboardShortcut::new(Modifiers::MAC_CMD, Key::Comma))
} else {
// TODO(emilk): shortcut for web and non-mac too
None
}
}

#[cfg(debug_assertions)]
Self::ToggleBlueprintInspectionPanel => Some(ctrl_shift(Key::I)),
Expand Down

0 comments on commit 9f6d3fc

Please sign in to comment.