Fix mouse leave event handling to restore cursor

#759
This commit is contained in:
Wojtek Figat
2022-10-10 18:47:38 +02:00
parent 0ed41f97fc
commit ebd88a407d
2 changed files with 22 additions and 2 deletions

View File

@@ -210,6 +210,11 @@ namespace FlaxEngine.GUI
{
// Clear flag
_mouseOverSplitter = false;
if (_cursorChanged)
{
Cursor = CursorType.Default;
_cursorChanged = false;
}
base.OnMouseLeave();
}