Skip to content
Snippets Groups Projects
Commit b18d54be authored by Leslie Linden's avatar Leslie Linden
Browse files

EXP-1816 FIX -- Drag area in outbox can remain highlighted after drag and drop ends

* Added handleHover function to clear highlight
parent eee28bd0
No related branches found
No related tags found
No related merge requests found
...@@ -419,6 +419,16 @@ BOOL LLFloaterOutbox::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop, ...@@ -419,6 +419,16 @@ BOOL LLFloaterOutbox::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop,
return handled; return handled;
} }
BOOL LLFloaterOutbox::handleHover(S32 x, S32 y, MASK mask)
{
if (mOutboxTopLevelDropZone)
{
mOutboxTopLevelDropZone->setBackgroundVisible(FALSE);
}
return LLFloater::handleHover(x, y, mask);
}
void LLFloaterOutbox::onMouseLeave(S32 x, S32 y, MASK mask) void LLFloaterOutbox::onMouseLeave(S32 x, S32 y, MASK mask)
{ {
if (mOutboxTopLevelDropZone) if (mOutboxTopLevelDropZone)
......
...@@ -66,6 +66,7 @@ class LLFloaterOutbox : public LLFloater ...@@ -66,6 +66,7 @@ class LLFloaterOutbox : public LLFloater
void showNotification(const LLSD& notify); void showNotification(const LLSD& notify);
BOOL handleHover(S32 x, S32 y, MASK mask);
void onMouseLeave(S32 x, S32 y, MASK mask); void onMouseLeave(S32 x, S32 y, MASK mask);
protected: protected:
......
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