Fixes for regression in tree UI layout after recent refactor
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user