Merge pull request #91887 from minionprocyk/master
Use Option+Cmd+Left/Right for script editor history navigation on macOS
This commit is contained in:
commit
45f6aaeb10
1 changed files with 3 additions and 0 deletions
|
@ -4122,6 +4122,9 @@ ScriptEditor::ScriptEditor(WindowWrapper *p_wrapper) {
|
|||
|
||||
file_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/history_previous", TTR("History Previous"), KeyModifierMask::ALT | Key::LEFT), WINDOW_PREV);
|
||||
file_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/history_next", TTR("History Next"), KeyModifierMask::ALT | Key::RIGHT), WINDOW_NEXT);
|
||||
ED_SHORTCUT_OVERRIDE("script_editor/history_previous", "macos", KeyModifierMask::ALT | KeyModifierMask::META | Key::LEFT);
|
||||
ED_SHORTCUT_OVERRIDE("script_editor/history_next", "macos", KeyModifierMask::ALT | KeyModifierMask::META | Key::RIGHT);
|
||||
|
||||
file_menu->get_popup()->add_separator();
|
||||
|
||||
theme_submenu = memnew(PopupMenu);
|
||||
|
|
Loading…
Reference in a new issue