mirror of
https://github.com/godotengine/godot.git
synced 2025-04-13 01:00:35 +08:00
ScriptEditor: Changed the shortcut for contextual help in ALT + F1, to resolve the conflict with the help menu opening shortcut.
This commit is contained in:
parent
996abb83e3
commit
81e48e2cf3
@ -6403,7 +6403,7 @@ EditorNode::EditorNode() {
|
||||
ED_SHORTCUT("editor/editor_2d", TTR("Open 2D Editor"), KEY_F1);
|
||||
ED_SHORTCUT("editor/editor_3d", TTR("Open 3D Editor"), KEY_F2);
|
||||
ED_SHORTCUT("editor/editor_script", TTR("Open Script Editor"), KEY_F3); //hack needed for script editor F3 search to work :) Assign like this or don't use F3
|
||||
ED_SHORTCUT("editor/editor_help", TTR("Search Help"), KEY_F4);
|
||||
ED_SHORTCUT("editor/editor_help", TTR("Search Help"), KEY_MASK_SHIFT | KEY_F1);
|
||||
#endif
|
||||
ED_SHORTCUT("editor/editor_assetlib", TTR("Open Asset Library"));
|
||||
ED_SHORTCUT("editor/editor_next", TTR("Open the next Editor"));
|
||||
|
@ -1739,7 +1739,7 @@ void ScriptTextEditor::register_editor() {
|
||||
#ifdef OSX_ENABLED
|
||||
ED_SHORTCUT("script_text_editor/contextual_help", TTR("Contextual Help"), KEY_MASK_ALT | KEY_MASK_SHIFT | KEY_SPACE);
|
||||
#else
|
||||
ED_SHORTCUT("script_text_editor/contextual_help", TTR("Contextual Help"), KEY_MASK_SHIFT | KEY_F1);
|
||||
ED_SHORTCUT("script_text_editor/contextual_help", TTR("Contextual Help"), KEY_MASK_ALT | KEY_F1);
|
||||
#endif
|
||||
|
||||
ScriptEditor::register_create_script_editor_function(create_editor);
|
||||
|
Loading…
x
Reference in New Issue
Block a user