mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Merge pull request #1038 from stenyak/fix-cursor-show-bug
Fix off-by-one error in cursor hiding/showing function
This commit is contained in:
commit
f85fc550c5
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ void Win32CursorController::setCursorVisible( bool visible )
|
||||||
if( visible )
|
if( visible )
|
||||||
ShowCursor( true );
|
ShowCursor( true );
|
||||||
else
|
else
|
||||||
while( ShowCursor(false) > 0 );
|
while( ShowCursor(false) >= 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Win32CursorController::isCursorVisible()
|
bool Win32CursorController::isCursorVisible()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue