Merge pull request #96518 from Giganzo/popup-panel-style

Fix PopupPanel and PopupMenu menu styles
This commit is contained in:
Thaddeus Crews 2024-10-24 13:22:34 -05:00
commit 3b70a96164
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
5 changed files with 19 additions and 37 deletions

View file

@ -536,7 +536,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));