Fix minor Editor UI issues

This commit is contained in:
2026-09-15 12:55:13 +02:00
parent 3ff1f825a7
commit bd5edcc4d2
2 changed files with 12 additions and 3 deletions
+6
View File
@@ -171,6 +171,12 @@ namespace FlaxEngine.GUI
/// </summary>
public virtual void DisposeChildren()
{
// Steal focus from children to maintain it in a hierarchy
if (ContainsFocus)
{
Focus();
}
bool wasLayoutLocked = _isLayoutLocked;
_isLayoutLocked = true;