diff options
author | Richard Nelson <richard@lindenlab.com> | 2011-10-12 16:51:00 -0700 |
---|---|---|
committer | Richard Nelson <richard@lindenlab.com> | 2011-10-12 16:51:00 -0700 |
commit | d5d7e264ad636a42470772f5e96914327e30eca2 (patch) | |
tree | b04660036c2968ef3bc9e610a8af6641affab2d9 /indra/llui/lltoolbar.cpp | |
parent | 3594853d0ef166c98d04c015b1217f2a437f8872 (diff) |
don't highlight toolbar buttons during drag and drop (for real)
Diffstat (limited to 'indra/llui/lltoolbar.cpp')
-rw-r--r-- | indra/llui/lltoolbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltoolbar.cpp b/indra/llui/lltoolbar.cpp index 02970bc969..a75a1552fc 100644 --- a/indra/llui/lltoolbar.cpp +++ b/indra/llui/lltoolbar.cpp @@ -871,7 +871,7 @@ void LLToolBarButton::onMouseEnter(S32 x, S32 y, MASK mask) LLUICtrl::onMouseEnter(x, y, mask); // Always highlight toolbar buttons, even if they are disabled - if (!gFocusMgr.getMouseCapture() || gFocusMgr.getMouseCapture() != this) + if (!gFocusMgr.getMouseCapture() || gFocusMgr.getMouseCapture() == this) { mNeedsHighlight = TRUE; } |