Fixes for regression in tree UI layout after recent refactor

This commit is contained in:
Wojciech Figat
2021-12-07 14:58:54 +01:00
parent ea71e8cbe6
commit 1cc26c871d
5 changed files with 76 additions and 72 deletions

View File

@@ -350,7 +350,7 @@ namespace FlaxEditor.Modules
{
// Perform layout
var windowGUI = window.GUI;
windowGUI.UnlockChildrenRecursive();
windowGUI.IsLayoutLocked = false;
windowGUI.PerformLayout();
// Show
@@ -379,6 +379,10 @@ namespace FlaxEditor.Modules
Editor.LogWarning(ex);
return false;
}
finally
{
masterPanel.PerformLayout();
}
return true;
}