1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 07:23:51 +00:00

Merge pull request #2755 from akortunov/guifixes

Do not disable a mouse cursor until it moved when you exit a GUI mode
This commit is contained in:
Andrei Kortunov 2020-04-04 14:22:25 +04:00 committed by GitHub
commit 26ac6839d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1162,11 +1162,7 @@ namespace MWGui
void WindowManager::setCursorVisible(bool visible)
{
if (visible == mCursorVisible)
return;
mCursorVisible = visible;
if (!visible)
mCursorActive = false;
}
void WindowManager::setCursorActive(bool active)