diff options
author | Richard Nelson <richard@lindenlab.com> | 2009-07-10 20:43:08 +0000 |
---|---|---|
committer | Richard Nelson <richard@lindenlab.com> | 2009-07-10 20:43:08 +0000 |
commit | 923d84d08f98b33657d6bd861c34b985125db757 (patch) | |
tree | aa0d08135e2ba46cb69cde25e1026962fa2ddc66 /indra/llui/llcombobox.cpp | |
parent | 24be0ba83c97bcefb8afe565a7483c2e99bbf11a (diff) |
EXT-127: Tooltips don't disappear immediately after moving mouse out of object
reviewed by Austin
Diffstat (limited to 'indra/llui/llcombobox.cpp')
-rw-r--r-- | indra/llui/llcombobox.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/llui/llcombobox.cpp b/indra/llui/llcombobox.cpp index 5dfca4be16..5caad1919a 100644 --- a/indra/llui/llcombobox.cpp +++ b/indra/llui/llcombobox.cpp @@ -738,12 +738,7 @@ BOOL LLComboBox::handleToolTip(S32 x, S32 y, std::string& msg, LLRect* sticky_re msg = tool_tip; // Convert rect local to screen coordinates - localPointToScreen( - 0, 0, - &(sticky_rect_screen->mLeft), &(sticky_rect_screen->mBottom) ); - localPointToScreen( - getRect().getWidth(), getRect().getHeight(), - &(sticky_rect_screen->mRight), &(sticky_rect_screen->mTop) ); + *sticky_rect_screen = calcScreenRect(); } return TRUE; } |