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

Merge pull request #40042 from YeldhamDev/anim_tree_margin

Remove oversized margins in the AnimationTree editor
Rémi Verschelde 5 жил өмнө
parent
commit
90e81b7e2a

+ 1 - 1
editor/plugins/animation_tree_editor_plugin.cpp

@@ -238,7 +238,7 @@ AnimationTreeEditor::AnimationTreeEditor() {
 	add_child(memnew(HSeparator));
 
 	singleton = this;
-	editor_base = memnew(PanelContainer);
+	editor_base = memnew(MarginContainer);
 	editor_base->set_v_size_flags(SIZE_EXPAND_FILL);
 	add_child(editor_base);
 

+ 1 - 1
editor/plugins/animation_tree_editor_plugin.h

@@ -55,7 +55,7 @@ class AnimationTreeEditor : public VBoxContainer {
 	HBoxContainer *path_hb;
 
 	AnimationTree *tree;
-	PanelContainer *editor_base;
+	MarginContainer *editor_base;
 
 	Vector<String> button_path;
 	Vector<String> edited_path;