mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-29 19:36:43 +00:00
Fix a regression with disappearing cursor in the self-enchanting menu
This commit is contained in:
parent
9b716a2f8d
commit
f165d22cde
1 changed files with 1 additions and 1 deletions
|
@ -779,7 +779,7 @@ namespace MWInput
|
||||||
mMouseLookEnabled = !guiMode;
|
mMouseLookEnabled = !guiMode;
|
||||||
if (guiMode)
|
if (guiMode)
|
||||||
MWBase::Environment::get().getWindowManager()->showCrosshair(false);
|
MWBase::Environment::get().getWindowManager()->showCrosshair(false);
|
||||||
MWBase::Environment::get().getWindowManager()->setCursorVisible(guiMode && (mJoystickLastUsed && !mGamepadGuiCursorEnabled));
|
MWBase::Environment::get().getWindowManager()->setCursorVisible(guiMode && (!mJoystickLastUsed || mGamepadGuiCursorEnabled));
|
||||||
// if not in gui mode, the camera decides whether to show crosshair or not.
|
// if not in gui mode, the camera decides whether to show crosshair or not.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue