You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #96518 from Giganzo/popup-panel-style
Fix PopupPanel and PopupMenu menu styles
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user