When the mouse leaves a scroll list, don't leave the mouse-over highlight shown

This commit is contained in:
Lirusaito
2013-07-18 04:58:29 -04:00
parent baef50e451
commit 8d87d3410e
2 changed files with 6 additions and 0 deletions

View File

@@ -1922,6 +1922,11 @@ BOOL LLScrollListCtrl::handleHover(S32 x,S32 y,MASK mask)
return handled;
}
void LLScrollListCtrl::onMouseLeave(S32 x, S32 y, MASK mask)
{
// clear mouse highlight
mouseOverHighlightNthItem(-1);
}
BOOL LLScrollListCtrl::handleKeyHere(KEY key,MASK mask )
{