You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
fixed duplicate buttons style to match the other buttons in the SpriteFrames editor plugin
This commit is contained in:
@@ -1904,7 +1904,7 @@ SpriteFramesEditor::SpriteFramesEditor() {
|
|||||||
add_anim->connect(SceneStringName(pressed), callable_mp(this, &SpriteFramesEditor::_animation_add));
|
add_anim->connect(SceneStringName(pressed), callable_mp(this, &SpriteFramesEditor::_animation_add));
|
||||||
|
|
||||||
duplicate_anim = memnew(Button);
|
duplicate_anim = memnew(Button);
|
||||||
duplicate_anim->set_flat(true);
|
duplicate_anim->set_theme_type_variation(SceneStringName(FlatButton));
|
||||||
hbc_animlist->add_child(duplicate_anim);
|
hbc_animlist->add_child(duplicate_anim);
|
||||||
duplicate_anim->connect(SceneStringName(pressed), callable_mp(this, &SpriteFramesEditor::_animation_duplicate));
|
duplicate_anim->connect(SceneStringName(pressed), callable_mp(this, &SpriteFramesEditor::_animation_duplicate));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user