diff options
author | Leslie Linden <leslie@lindenlab.com> | 2011-10-11 17:19:29 -0700 |
---|---|---|
committer | Leslie Linden <leslie@lindenlab.com> | 2011-10-11 17:19:29 -0700 |
commit | a90a4b7b99b383490e594e2cdf1181d13e0c0f06 (patch) | |
tree | 0e34d74e7822e9766d186ba9113db2c72fa3a839 /indra/llui | |
parent | 3c06bb26b0fc4204945020c37f00dbdf0ff9338b (diff) | |
parent | 48f7514fbd0db8266b8c70263d9f16f6f4201320 (diff) |
Merge
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/lltoolbar.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llui/lltoolbar.cpp b/indra/llui/lltoolbar.cpp index d4633d7c3b..a1ea4ba18b 100644 --- a/indra/llui/lltoolbar.cpp +++ b/indra/llui/lltoolbar.cpp @@ -425,12 +425,12 @@ int LLToolBar::getRankFromPosition(S32& x, S32& y) } if (it_button != end_button) { - x = button_rect.mRight + dx; + x = button_rect.mLeft + dx; y = button_rect.mTop + dy; } else { - x = button_rect.mLeft + dx; + x = button_rect.mRight + dx; y = button_rect.mBottom + dy; } @@ -655,6 +655,7 @@ void LLToolBar::draw() LLUICtrl::draw(); caret->setVisible(FALSE); + mDragAndDropTarget = false; } void LLToolBar::reshape(S32 width, S32 height, BOOL called_from_parent) |