summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorruslantproductengine <ruslantproductengine@lindenlab.com>2018-11-02 16:27:34 +0200
committerruslantproductengine <ruslantproductengine@lindenlab.com>2018-11-02 16:27:34 +0200
commitfc2cdf62f186784548934b64ac4a559c32146614 (patch)
tree74b892988ba7c11513afb20e7386e80fd42984b3 /indra/newview
parentf3a42d070ecf27acc51e53d4ca8632c7036459ff (diff)
SL-9766 [Render] [Mac] Alt + left mouse click has severely impaired functions
FIX #2
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewerwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 0a8076173e..392a843d6c 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -3024,8 +3024,7 @@ void LLViewerWindow::moveCursorToCenter()
S32 x = getWorldViewWidthScaled() / 2;
S32 y = getWorldViewHeightScaled() / 2;
- F32 scale_factor = mWindow->getDeviceScaleFactor();
- LLUI::setMousePositionScreen(x/scale_factor, y/scale_factor);
+ LLUI::setMousePositionScreen(x, y);
//on a forced move, all deltas get zeroed out to prevent jumping
mCurrentMousePoint.set(x,y);