diff options
| author | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2013-10-23 18:11:56 +0300 |
|---|---|---|
| committer | maksymsproductengine <maksymsproductengine@lindenlab.com> | 2013-10-23 18:11:56 +0300 |
| commit | b1c943859bc8b6316d2f4530014f9fb0fb65e66f (patch) | |
| tree | 77fd94dbb438ef263055446cd0cc9ef47d8cc362 /indra/newview/llviewerwindow.cpp | |
| parent | 9a117c4b5d4576c8b6863fea156e14e92e13eede (diff) | |
MAINT-3250 FIXED [TUI] Dragging on the Map does not working correctly
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
| -rwxr-xr-x | indra/newview/llviewerwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index ef5021816e..3193a2955b 100755 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -3244,8 +3244,6 @@ void LLViewerWindow::updateUI() updateLayout(); - mLastMousePoint = mCurrentMousePoint; - // cleanup unused selections when no modal dialogs are open if (LLModalDialog::activeCount() == 0) { @@ -3483,6 +3481,9 @@ void LLViewerWindow::saveLastMouse(const LLCoordGL &point) { // Store last mouse location. // If mouse leaves window, pretend last point was on edge of window + + mLastMousePoint = mCurrentMousePoint; + if (point.mX < 0) { mCurrentMousePoint.mX = 0; |
