Merge pull request #102786 from Giganzo/top-toolbar-menu-button-styles

Fix MenuButton style in editor top menu bar
This commit is contained in:
Thaddeus Crews 2025-04-10 10:18:10 -05:00
commit ef3e8b1609
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
8 changed files with 16 additions and 0 deletions

View file

@ -96,6 +96,8 @@ Skeleton2DEditor::Skeleton2DEditor() {
options->set_text(TTR("Skeleton2D"));
options->set_button_icon(EditorNode::get_singleton()->get_editor_theme()->get_icon(SNAME("Skeleton2D"), EditorStringName(EditorIcons)));
options->set_flat(false);
options->set_theme_type_variation("FlatMenuButton");
options->get_popup()->add_item(TTR("Reset to Rest Pose"), MENU_OPTION_SET_REST);
options->get_popup()->add_separator();