diff options
author | Oz Linden <oz@lindenlab.com> | 2010-10-15 16:38:42 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2010-10-15 16:38:42 -0400 |
commit | dd69516213fdf20cbc254214e651c4df26afbff7 (patch) | |
tree | e880c4e88c1ca721dcec028534fc528eda72995c /indra/newview/llhints.cpp | |
parent | 69ae08acc949789daeff2c214eb569082e171fa9 (diff) | |
parent | 068e3cc469793c75b0d54ef0864388582bb3b63c (diff) |
pull fix for STORM-376
Diffstat (limited to 'indra/newview/llhints.cpp')
-rw-r--r-- | indra/newview/llhints.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llhints.cpp b/indra/newview/llhints.cpp index d837ed8205..7f6df627e0 100644 --- a/indra/newview/llhints.cpp +++ b/indra/newview/llhints.cpp @@ -211,9 +211,16 @@ 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); } else { + // revert back enabled and mouse opaque state in case we disabled it before + setEnabled(true); + setMouseOpaque(true); + LLRect target_rect; targetp->localRectToOtherView(targetp->getLocalRect(), &target_rect, getParent()); |