Remove change as it only works for the editor

This commit is contained in:
Richard
2021-01-24 22:40:03 +11:00
parent 843a04604d
commit 7de56304c8

View File

@@ -676,7 +676,7 @@ void InputService::Update()
const auto lockMode = Screen::GetCursorLock();
if (lockMode == CursorLockMode::Locked)
{
Input::SetMousePosition(Screen::GetSize() * 0.5f * Platform::GetDpiScale());
Input::SetMousePosition(Screen::GetSize() * 0.5f);
}
// Send events for the active actions (send events only in play mode)