1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 06:53:52 +00:00

Do not disable a mouse cursor until it moved every time when you exit a GUI mode

This commit is contained in:
Andrei Kortunov 2020-04-02 22:39:00 +04:00
parent baf3c36a76
commit d222435774

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)