Skip to content

Commit 6729462

Browse files
committed
Merge pull request #101315 from Rocka06/spriteframes-plugin-duplicate-style
Fix duplicate buttons style to match the other buttons in the SpriteFrames editor plugin
2 parents 1f675e6 + 25e0278 commit 6729462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/plugins/sprite_frames_editor_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1904,7 +1904,7 @@ SpriteFramesEditor::SpriteFramesEditor() {
19041904
add_anim->connect(SceneStringName(pressed), callable_mp(this, &SpriteFramesEditor::_animation_add));
19051905

19061906
duplicate_anim = memnew(Button);
1907-
duplicate_anim->set_flat(true);
1907+
duplicate_anim->set_theme_type_variation(SceneStringName(FlatButton));
19081908
hbc_animlist->add_child(duplicate_anim);
19091909
duplicate_anim->connect(SceneStringName(pressed), callable_mp(this, &SpriteFramesEditor::_animation_duplicate));
19101910

0 commit comments

Comments
 (0)