Fix catching mouse focus in Editor play mode with game is paused
This commit is contained in:
@@ -1185,6 +1185,8 @@ namespace FlaxEditor
|
||||
var win = Windows.GameWin.Root;
|
||||
if (win?.RootWindow is WindowRootControl root && root.Window && root.Window.IsFocused)
|
||||
{
|
||||
if (StateMachine.IsPlayMode && StateMachine.PlayingState.IsPaused)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user