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

* Added handleHover function to clear highlight
meow-7.2.2
Leslie Linden 2012-01-18 13:11:57 -08:00
parent eee28bd007
commit b18d54be9f
2 changed files with 11 additions and 0 deletions

View File

@ -419,6 +419,16 @@ BOOL LLFloaterOutbox::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop,
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)
{
if (mOutboxTopLevelDropZone)

View File

@ -66,6 +66,7 @@ public:
void showNotification(const LLSD& notify);
BOOL handleHover(S32 x, S32 y, MASK mask);
void onMouseLeave(S32 x, S32 y, MASK mask);
protected: