Fix error when focus changes during focus change xd
This commit is contained in:
@@ -274,7 +274,7 @@ namespace FlaxEngine.GUI
|
||||
if (_focusedControl != null)
|
||||
{
|
||||
_focusedControl.OnGotFocus();
|
||||
Assert.IsTrue(_focusedControl.IsFocused);
|
||||
Assert.IsTrue(_focusedControl == null || _focusedControl.IsFocused);
|
||||
}
|
||||
|
||||
// Update flags
|
||||
|
||||
Reference in New Issue
Block a user