1
0
Fork 0
This commit is contained in:
Koliur Rahman 2025-02-28 01:36:31 +01:00 committed by GitHub
commit 0e0f802bf6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -3440,6 +3440,8 @@ void EditorInspector::update_tree() {
// Recreate the category vbox if it was reset.
if (category_vbox == nullptr) {
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();
main_vbox->add_child(category_vbox);
}