fix: fix #464
This commit is contained in:
1 parent
4108ed142b
commit
5922824950
4 files changed
+148
-4
No files matched your search
@@ -123,7 +123,7 @@ void KeyboardMouseInput::Tick()
|
||||
}
|
||||
}
|
||||
|
||||
if ((m_mouseGrabbed || m_cursorHiddenForUI) && g_hWnd)
|
||||
if (m_windowFocused && (m_mouseGrabbed || m_cursorHiddenForUI) && g_hWnd)
|
||||
{
|
||||
RECT rc;
|
||||
GetClientRect(g_hWnd, &rc);
|
||||
|
||||
Reference in new issue
Block a user