diff options
author | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-05-20 16:55:06 +0300 |
---|---|---|
committer | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-05-20 16:55:06 +0300 |
commit | 265f77747f9ae7719c338bd9b3e76ba59b130b68 (patch) | |
tree | 5fceeab981956fcdba8dbce25b94f296ba7a88b5 /indra/newview/llnearbychatbar.cpp | |
parent | 56e88c6b2e656a28b25154e27c05e7ced65d90a8 (diff) |
EXT-6598 FIX Handle tooltip message for separator
reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/417/
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llnearbychatbar.cpp')
-rw-r--r-- | indra/newview/llnearbychatbar.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llnearbychatbar.cpp b/indra/newview/llnearbychatbar.cpp index 7a525596a0..680ed35fa2 100644 --- a/indra/newview/llnearbychatbar.cpp +++ b/indra/newview/llnearbychatbar.cpp @@ -70,7 +70,7 @@ static LLChatTypeTrigger sChatTypeTriggers[] = { }; //ext-7367 -//Problem: gesture list control (actually LLScrollListCtrl) didn't actually process mouse wheel message.
+//Problem: gesture list control (actually LLScrollListCtrl) didn't actually process mouse wheel message. // introduce new gesture list subclass to "eat" mouse wheel messages (and probably some other messages) class LLGestureScrollListCtrl: public LLScrollListCtrl { @@ -86,6 +86,14 @@ public: LLScrollListCtrl::handleScrollWheel( x, y, clicks ); return TRUE; } + //See EXT-6598 + //Mouse hover over separator will result in not processing tooltip message + //So eat this message + BOOL handleToolTip(S32 x, S32 y, MASK mask) + { + LLScrollListCtrl::handleToolTip( x, y, mask ); + return TRUE; + } }; LLGestureComboList::Params::Params() |