fix(openmw): MacOS Scaling Bugs

esm4-texture
Dylan 8 months ago committed by psi29a
parent 7dcd127295
commit 91a771f851

@ -261,7 +261,8 @@ namespace MWInput
void MouseManager::warpMouse()
{
float uiScale = MWBase::Environment::get().getWindowManager()->getScalingFactor();
mInputWrapper->warpMouse(static_cast<int>(mGuiCursorX * uiScale), static_cast<int>(mGuiCursorY * uiScale));
float guiUiScale = Settings::gui().mScalingFactor;
mInputWrapper->warpMouse(
static_cast<int>(mGuiCursorX * guiUiScale), static_cast<int>(mGuiCursorY * guiUiScale));
}
}

Loading…
Cancel
Save