2
0
Эх сурвалжийг харах

fixed duplicate buttons style to match the other buttons in the SpriteFrames editor plugin

Sohonyai Tibor 8 сар өмнө
parent
commit
25e0278525

+ 1 - 1
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));