clang-format

This commit is contained in:
bmdhacks 2025-09-04 18:30:35 -07:00
parent cf51812a6f
commit 81fc72a5b8

View File

@ -76,8 +76,7 @@ namespace MWInput
winMgr->setCursorActive(true);
// Check if this movement is from our recent mouse warp
bool isFromWarp = (mLastWarpX >= 0 && mLastWarpY >= 0
&& std::abs(mGuiCursorX - mLastWarpX) < 0.5f
bool isFromWarp = (mLastWarpX >= 0 && mLastWarpY >= 0 && std::abs(mGuiCursorX - mLastWarpX) < 0.5f
&& std::abs(mGuiCursorY - mLastWarpY) < 0.5f);
if (Settings::gui().mControllerMenus && !winMgr->getCursorVisible()