From aad3fd382b036b119da3921a6e96d5e4bc3510a5 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Mon, 11 Nov 2024 19:00:32 -0500 Subject: [PATCH] Don't scale mouse positions coming in from the OS. The OS is already giving us the correct coordinates. No need to scale them. --- Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp b/Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp index 614c20fe40..ede9b29834 100644 --- a/Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp +++ b/Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp @@ -492,7 +492,7 @@ bool plMouseDevice::MsgReceive(plMessage* msg) fXPos = pXMsg->fX; SetCursorX(fXPos); - fWXPos = pXMsg->fWx * fScale; + fWXPos = pXMsg->fWx; return true; } @@ -529,7 +529,7 @@ bool plMouseDevice::MsgReceive(plMessage* msg) else fYPos = pYMsg->fY; - fWYPos = pYMsg->fWy * fScale; + fWYPos = pYMsg->fWy; SetCursorY(fYPos); return true;