diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-10-08 17:01:32 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-10-08 17:01:32 -0700 |
commit | 3059e130984052091cadd92007413df3c8cea07d (patch) | |
tree | a88d73c4643ca197800f2d6149758f1337335a11 /indra/newview/llhints.cpp | |
parent | 7ffc9b06c820d70724af2aef361ff9964e584e73 (diff) |
Fixed issue where non-visible hint wasn't allowing mouse events to pass through
Diffstat (limited to 'indra/newview/llhints.cpp')
-rw-r--r-- | indra/newview/llhints.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llhints.cpp b/indra/newview/llhints.cpp index b326fc26f2..7f6df627e0 100644 --- a/indra/newview/llhints.cpp +++ b/indra/newview/llhints.cpp @@ -210,12 +210,14 @@ void LLHintPopup::draw() } else if (!targetp->isInVisibleChain()) { + // if target is invisible, don't draw, but keep alive in case widget comes back + // but do make it so that it allows mouse events to pass through setEnabled(false); setMouseOpaque(false); - // if target is invisible, don't draw, but keep alive in case widget comes back } else { + // revert back enabled and mouse opaque state in case we disabled it before setEnabled(true); setMouseOpaque(true); |