From 7de56304c89d91e40bb6236a1cdf03c323641115 Mon Sep 17 00:00:00 2001 From: Richard Date: Sun, 24 Jan 2021 22:40:03 +1100 Subject: [PATCH] Remove change as it only works for the editor --- Source/Engine/Input/Input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Input/Input.cpp b/Source/Engine/Input/Input.cpp index 507e1a5ff..1dfa0e5fe 100644 --- a/Source/Engine/Input/Input.cpp +++ b/Source/Engine/Input/Input.cpp @@ -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)