mirror of
https://github.com/godotengine/godot.git
synced 2025-02-08 11:50:41 +00:00
Merge pull request #19082 from guilhermefelipecgs/fix_cursor
Fix cursor not displaying arrow when transiting from mode captured to visible.
This commit is contained in:
commit
3ac7f08b55
@ -777,7 +777,9 @@ LRESULT OS_Windows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
SetCursor(NULL);
|
||||
} else {
|
||||
if (hCursor != NULL) {
|
||||
SetCursor(hCursor);
|
||||
CursorShape c = cursor_shape;
|
||||
cursor_shape = CURSOR_MAX;
|
||||
set_cursor_shape(c);
|
||||
hCursor = NULL;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user