Merge branch 'game-window-focus-issue' of https://github.com/Tryibion/FlaxEngine into Tryibion-game-window-focus-issue

This commit is contained in:
Wojtek Figat
2023-10-04 19:02:18 +02:00

View File

@@ -463,6 +463,13 @@ namespace FlaxEditor.Windows
Cursor = CursorType.Default;
}
/// <inheritdoc />
public override void OnMouseLeave()
{
Parent?.Focus();
base.OnMouseLeave();
}
/// <inheritdoc />
public override void OnShowContextMenu(ContextMenu menu)
{