Merge pull request #114635 from passivestar/flat-menu-button

Fix inconsistent MenuButton styles
This commit is contained in:
Rémi Verschelde
2026-01-06 11:00:27 +01:00
6 changed files with 5 additions and 35 deletions

View File

@@ -199,9 +199,6 @@ void AnimationPlayerEditor::_notification(int p_what) {
pin->set_button_icon(get_editor_theme_icon(SNAME("Pin")));
tool_anim->add_theme_style_override(CoreStringName(normal), get_theme_stylebox(CoreStringName(normal), SNAME("Button")));
track_editor->get_edit_menu()->add_theme_style_override(CoreStringName(normal), get_theme_stylebox(CoreStringName(normal), SNAME("Button")));
#define ITEM_ICON(m_item, m_icon) tool_anim->get_popup()->set_item_icon(tool_anim->get_popup()->get_item_index(m_item), get_editor_theme_icon(SNAME(m_icon)))
ITEM_ICON(TOOL_NEW_ANIM, "New");