mirror of https://github.com/godotengine/godot
Merge 4952e078e4 into 15ff450680
This commit is contained in:
commit
0e0f802bf6
|
|
@ -3440,6 +3440,8 @@ void EditorInspector::update_tree() {
|
||||||
// Recreate the category vbox if it was reset.
|
// Recreate the category vbox if it was reset.
|
||||||
if (category_vbox == nullptr) {
|
if (category_vbox == nullptr) {
|
||||||
category_vbox = memnew(VBoxContainer);
|
category_vbox = memnew(VBoxContainer);
|
||||||
|
int separation = get_theme_constant(SNAME("v_separation"), SNAME("EditorInspector"));
|
||||||
|
category_vbox->add_theme_constant_override(SNAME("separation"), separation);
|
||||||
category_vbox->hide();
|
category_vbox->hide();
|
||||||
main_vbox->add_child(category_vbox);
|
main_vbox->add_child(category_vbox);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue