Change demo keyboard shortcuts to some that work in the browser
This commit is contained in:
parent
a86ec5a749
commit
b8a1670781
1 changed files with 2 additions and 2 deletions
|
@ -302,9 +302,9 @@ impl DemoWindows {
|
|||
|
||||
fn file_menu_button(ui: &mut Ui) {
|
||||
let organize_shortcut =
|
||||
egui::KeyboardShortcut::new(Modifiers::ALT | Modifiers::SHIFT, egui::Key::O);
|
||||
egui::KeyboardShortcut::new(Modifiers::CTRL | Modifiers::SHIFT, egui::Key::O);
|
||||
let reset_shortcut =
|
||||
egui::KeyboardShortcut::new(Modifiers::ALT | Modifiers::SHIFT, egui::Key::R);
|
||||
egui::KeyboardShortcut::new(Modifiers::CTRL | Modifiers::SHIFT, egui::Key::R);
|
||||
|
||||
// NOTE: we must check the shortcuts OUTSIDE of the actual "File" menu,
|
||||
// or else they would only be checked if the "File" menu was actually open!
|
||||
|
|
Loading…
Reference in a new issue