diff options
| author | Leslie Linden <leslie@lindenlab.com> | 2011-10-12 17:50:03 -0700 |
|---|---|---|
| committer | Leslie Linden <leslie@lindenlab.com> | 2011-10-12 17:50:03 -0700 |
| commit | 1181e7c75747361e1a57f083cf82c63ef152bfc5 (patch) | |
| tree | 03d41962e61ccbbe40d3dac843a0bfe74a81a3b4 /indra/llui/llbutton.cpp | |
| parent | 20358ea89dc9823ac0b539030fdf03268dbdf4e9 (diff) | |
| parent | 3e55263e33fde4ab1ff19e8cfcb55125ee42b70d (diff) | |
Merge
Diffstat (limited to 'indra/llui/llbutton.cpp')
| -rw-r--r-- | indra/llui/llbutton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp index 0a7584a576..4f0c0d31bd 100644 --- a/indra/llui/llbutton.cpp +++ b/indra/llui/llbutton.cpp @@ -548,7 +548,7 @@ void LLButton::setHighlight(bool b) BOOL LLButton::handleHover(S32 x, S32 y, MASK mask) { if (isInEnabledChain() - && (!gFocusMgr.getMouseCapture() || gFocusMgr.getMouseCapture() != this)) + && (!gFocusMgr.getMouseCapture() || gFocusMgr.getMouseCapture() == this)) mNeedsHighlight = TRUE; if (!childrenHandleHover(x, y, mask)) |
