diff options
author | andreykproductengine <akleshchev@productengine.com> | 2017-02-21 19:30:41 +0200 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2017-02-21 19:30:41 +0200 |
commit | aa52236c5570a0b971b2524da655ccff6a1bff0d (patch) | |
tree | a15e52ff82817c94db289a136d83cd06ed96c7d7 /indra/newview/llinventorylistitem.h | |
parent | 3faad84a533b80e4a40e29e880d1608ffb0763ef (diff) |
MAINT-768 Fixed mouse hover triggers foreground and background UI
Diffstat (limited to 'indra/newview/llinventorylistitem.h')
-rw-r--r-- | indra/newview/llinventorylistitem.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llinventorylistitem.h b/indra/newview/llinventorylistitem.h index b1ef6c74ee..d4dd212cc3 100644 --- a/indra/newview/llinventorylistitem.h +++ b/indra/newview/llinventorylistitem.h @@ -129,8 +129,8 @@ public: */ /*virtual*/ S32 notify(const LLSD& info); - /* Highlights item */ - /*virtual*/ void onMouseEnter(S32 x, S32 y, MASK mask); + /* Highlights item */ + /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask); /* Removes item highlight */ /*virtual*/ void onMouseLeave(S32 x, S32 y, MASK mask); @@ -153,6 +153,7 @@ public: LLViewerInventoryItem* getItem() const; void setSeparatorVisible(bool visible) { mSeparatorVisible = visible; } + void resetHighlight() { mHovered = FALSE; } virtual ~LLPanelInventoryListItemBase(){} |