Restore 'Toggle fullscreen' menu for the Android editor and clean up the immersive mode logic
This commit is contained in:
parent
e439154407
commit
923b0f2e56
9 changed files with 128 additions and 57 deletions
|
|
@ -7358,11 +7358,9 @@ EditorNode::EditorNode() {
|
|||
|
||||
settings_menu->set_item_tooltip(-1, TTR("Screenshots are stored in the user data folder (\"user://\")."));
|
||||
|
||||
#ifndef ANDROID_ENABLED
|
||||
ED_SHORTCUT_AND_COMMAND("editor/fullscreen_mode", TTR("Toggle Fullscreen"), KeyModifierMask::SHIFT | Key::F11);
|
||||
ED_SHORTCUT_OVERRIDE("editor/fullscreen_mode", "macos", KeyModifierMask::META | KeyModifierMask::CTRL | Key::F);
|
||||
settings_menu->add_shortcut(ED_GET_SHORTCUT("editor/fullscreen_mode"), SETTINGS_TOGGLE_FULLSCREEN);
|
||||
#endif
|
||||
settings_menu->add_separator();
|
||||
|
||||
#ifndef ANDROID_ENABLED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue