diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llviewertexteditor.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewertexteditor.cpp b/linden/indra/newview/llviewertexteditor.cpp index 1dda1ca..7975b5d 100644 --- a/linden/indra/newview/llviewertexteditor.cpp +++ b/linden/indra/newview/llviewertexteditor.cpp | |||
@@ -616,7 +616,10 @@ BOOL LLViewerTextEditor::handleToolTip(S32 x, S32 y, std::string& msg, LLRect* s | |||
616 | LLView *viewp = *child_iter; | 616 | LLView *viewp = *child_iter; |
617 | S32 local_x = x - viewp->getRect().mLeft; | 617 | S32 local_x = x - viewp->getRect().mLeft; |
618 | S32 local_y = y - viewp->getRect().mBottom; | 618 | S32 local_y = y - viewp->getRect().mBottom; |
619 | if( viewp->handleToolTip(local_x, local_y, msg, sticky_rect_screen ) ) | 619 | if( viewp->pointInView(local_x, local_y) |
620 | && viewp->getVisible() | ||
621 | && viewp->getEnabled() | ||
622 | && viewp->handleToolTip(local_x, local_y, msg, sticky_rect_screen ) ) | ||
620 | { | 623 | { |
621 | return TRUE; | 624 | return TRUE; |
622 | } | 625 | } |