Return focus to parent on mouse leave.
This commit is contained in:
@@ -345,6 +345,13 @@ namespace FlaxEditor.Windows
|
||||
Cursor = CursorType.Default;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void OnMouseLeave()
|
||||
{
|
||||
Parent?.Focus();
|
||||
base.OnMouseLeave();
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void OnShowContextMenu(ContextMenu menu)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user