Fix showcursor

This commit is contained in:
SHAM-DP 2023-03-03 16:52:43 +08:00
parent f7c33bc89a
commit 9eb40d5928
1 changed files with 2 additions and 1 deletions

View File

@ -198,7 +198,8 @@ namespace SHADE
void SHWindow::SetMouseVisible(bool show) void SHWindow::SetMouseVisible(bool show)
{ {
ShowCursor(show); while(GetMouseVisible() != show)
ShowCursor(show);
} }
void SHWindow::SetMousePosition(int x, int y) void SHWindow::SetMousePosition(int x, int y)