From 9bbdf16623ee5e86b61c00f1c45e16b6c2ae44a6 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 12 Sep 2023 14:03:53 +0200 Subject: [PATCH] Fix potential content tree freeze when toggling engine/plugins files showing --- Source/Editor/Windows/ContentWindow.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Editor/Windows/ContentWindow.cs b/Source/Editor/Windows/ContentWindow.cs index f4fb4afdc..0f3c12286 100644 --- a/Source/Editor/Windows/ContentWindow.cs +++ b/Source/Editor/Windows/ContentWindow.cs @@ -79,6 +79,7 @@ namespace FlaxEditor.Windows Editor.ContentDatabase.Engine.Visible = value; Editor.ContentDatabase.Engine.Folder.Visible = value; RefreshView(); + _tree.PerformLayout(); } } } @@ -99,6 +100,7 @@ namespace FlaxEditor.Windows project.Visible = value; project.Folder.Visible = value; RefreshView(); + _tree.PerformLayout(); } } }