mirror of
https://github.com/godotengine/godot.git
synced 2025-10-29 04:34:39 +00:00
Fix PopupPanel menu style
This commit is contained in:
parent
61598c5c88
commit
549bffdcbc
5 changed files with 19 additions and 37 deletions
|
|
@ -534,7 +534,6 @@ ControlEditorPopupButton::ControlEditorPopupButton() {
|
|||
set_focus_mode(FOCUS_NONE);
|
||||
|
||||
popup_panel = memnew(PopupPanel);
|
||||
popup_panel->set_theme_type_variation("ControlEditorPopupPanel");
|
||||
add_child(popup_panel);
|
||||
popup_panel->connect("about_to_popup", callable_mp(this, &ControlEditorPopupButton::_popup_visibility_changed).bind(true));
|
||||
popup_panel->connect("popup_hide", callable_mp(this, &ControlEditorPopupButton::_popup_visibility_changed).bind(false));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue