summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-11-22 16:22:57 +0100
committerGitHub <noreply@github.com>2021-11-22 16:22:57 +0100
commit76aa1d0a433441e9bd863e1f489e9905c545f630 (patch)
treea5b299f1bd5bbeee6bf717ae5a02f28977f04af5 /editor/plugins/script_editor_plugin.cpp
parent8daf0cc49c4bab8dd039ced214e527b21708661e (diff)
parenteabf8f5edf6dc3346bd6a6e771e382f1a20a5c29 (diff)
downloadredot-engine-76aa1d0a433441e9bd863e1f489e9905c545f630.tar.gz
Merge pull request #55151 from Chaosus/control_reset_size
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r--editor/plugins/script_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index e87d31f018..583862893c 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -3052,7 +3052,7 @@ void ScriptEditor::_make_script_list_context_menu() {
context_menu->add_shortcut(ED_GET_SHORTCUT("script_editor/toggle_scripts_panel"), TOGGLE_SCRIPTS_PANEL);
context_menu->set_position(get_global_transform().xform(get_local_mouse_position()));
- context_menu->set_size(Vector2(1, 1));
+ context_menu->reset_size();
context_menu->popup();
}