diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-05-06 16:45:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-06 16:45:07 +0200 |
commit | 6e621441ca0e562fb010c86d88e1d3a8a9ed0fd8 (patch) | |
tree | d24b50bac78ecbde39e5eeb00226125f84f12f2a /editor/plugins/root_motion_editor_plugin.cpp | |
parent | 7b8a86421174d572bf59cf680b17a7ceb660bc50 (diff) | |
parent | 60b70c77e05ac75f25af110c107cc5d97c35fa89 (diff) |
Merge pull request #45607 from Calinou/improve-editor-theme
Improve the editor theme
Diffstat (limited to 'editor/plugins/root_motion_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/root_motion_editor_plugin.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/editor/plugins/root_motion_editor_plugin.cpp b/editor/plugins/root_motion_editor_plugin.cpp index 50f4d8493f..1e6237ced1 100644 --- a/editor/plugins/root_motion_editor_plugin.cpp +++ b/editor/plugins/root_motion_editor_plugin.cpp @@ -205,7 +205,6 @@ void EditorPropertyRootMotion::update_property() { assign->set_flat(false); return; } - assign->set_flat(true); Node *base_node = nullptr; if (base_hint != NodePath()) { @@ -247,14 +246,12 @@ EditorPropertyRootMotion::EditorPropertyRootMotion() { HBoxContainer *hbc = memnew(HBoxContainer); add_child(hbc); assign = memnew(Button); - assign->set_flat(true); assign->set_h_size_flags(SIZE_EXPAND_FILL); assign->set_clip_text(true); assign->connect("pressed", callable_mp(this, &EditorPropertyRootMotion::_node_assign)); hbc->add_child(assign); clear = memnew(Button); - clear->set_flat(true); clear->connect("pressed", callable_mp(this, &EditorPropertyRootMotion::_node_clear)); hbc->add_child(clear); |