mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
Added reset_size method to Control and Window classes
This commit is contained in:
parent
ed02b8af59
commit
eabf8f5edf
30 changed files with 85 additions and 61 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue