Skip to content
Snippets Groups Projects
Commit 775f6421 authored by Kitty Barnett's avatar Kitty Barnett
Browse files

- fixed : don't show a tooltip for the avatar icon control if it's set not to show tooltips

    -> vanilla SL "bug"/UI idiosyncrasy

--HG--
branch : RLVa
parent c329392f
No related branches found
No related tags found
No related merge requests found
...@@ -306,3 +306,13 @@ void LLAvatarIconCtrl::onAvatarNameCache(const LLUUID& agent_id, const LLAvatarN ...@@ -306,3 +306,13 @@ void LLAvatarIconCtrl::onAvatarNameCache(const LLUUID& agent_id, const LLAvatarN
} }
} }
} }
// [SL:KB] - Checked: 2010-11-01 (RLVa-1.2.2a) | Added: RLVa-1.2.2a
BOOL LLAvatarIconCtrl::handleToolTip(S32 x, S32 y, MASK mask)
{
// Don't show our tooltip if we were asked not to
if (!mDrawTooltip)
return FALSE;
return LLIconCtrl::handleToolTip(x, y, mask);
}
// [/SL:KB]
...@@ -81,6 +81,10 @@ class LLAvatarIconCtrl ...@@ -81,6 +81,10 @@ class LLAvatarIconCtrl
public: public:
virtual ~LLAvatarIconCtrl(); virtual ~LLAvatarIconCtrl();
// [SL:KB] - Checked: 2010-11-01 (RLVa-1.2.2a) | Added: RLVa-1.2.2a
/*virtual*/ BOOL handleToolTip(S32 x, S32 y, MASK mask);
// [/SL:KB]
virtual void setValue(const LLSD& value); virtual void setValue(const LLSD& value);
// LLAvatarPropertiesProcessor observer trigger // LLAvatarPropertiesProcessor observer trigger
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment