mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
Set cursor active when moving by controller
This commit is contained in:
parent
479f9535b4
commit
548e90a7bc
@ -430,6 +430,7 @@ namespace MWInput
|
||||
|
||||
MyGUI::InputManager::getInstance().injectMouseMove(static_cast<int>(mGuiCursorX), static_cast<int>(mGuiCursorY), mMouseWheel);
|
||||
mInputManager->warpMouse(static_cast<int>(mGuiCursorX/mInvUiScalingFactor), static_cast<int>(mGuiCursorY/mInvUiScalingFactor));
|
||||
MWBase::Environment::get().getWindowManager()->setCursorActive(true);
|
||||
}
|
||||
}
|
||||
if (mMouseLookEnabled)
|
||||
|
Loading…
x
Reference in New Issue
Block a user