diff options
author | Oz Linden <oz@lindenlab.com> | 2010-10-15 16:41:30 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2010-10-15 16:41:30 -0400 |
commit | ba2300b8aeff30a64d3f34b0cd5c49aa890e0639 (patch) | |
tree | d7a7f4aa61d1b2bd28374e5c61f3d6730d450574 /indra/newview/llhints.cpp | |
parent | a8b5da9a70936923e650bd5c200276da49106784 (diff) | |
parent | 18321756297bd9b04a4204abe4fbb0e3e8112186 (diff) |
pull fix for STORM-211
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()); |