From 25e0278525f072c1869e196e676cf6cc92eca438 Mon Sep 17 00:00:00 2001 From: Sohonyai Tibor <185492254+Rocka06@users.noreply.github.com> Date: Wed, 8 Jan 2025 21:58:34 +0100 Subject: [PATCH] fixed duplicate buttons style to match the other buttons in the SpriteFrames editor plugin --- editor/plugins/sprite_frames_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/sprite_frames_editor_plugin.cpp b/editor/plugins/sprite_frames_editor_plugin.cpp index a94dfcce00..116d7f4430 100644 --- a/editor/plugins/sprite_frames_editor_plugin.cpp +++ b/editor/plugins/sprite_frames_editor_plugin.cpp @@ -1904,7 +1904,7 @@ SpriteFramesEditor::SpriteFramesEditor() { add_anim->connect(SceneStringName(pressed), callable_mp(this, &SpriteFramesEditor::_animation_add)); duplicate_anim = memnew(Button); - duplicate_anim->set_flat(true); + duplicate_anim->set_theme_type_variation(SceneStringName(FlatButton)); hbc_animlist->add_child(duplicate_anim); duplicate_anim->connect(SceneStringName(pressed), callable_mp(this, &SpriteFramesEditor::_animation_duplicate));