Allow right clicking notifications when on right clickable ui.
This commit is contained in:
@@ -294,6 +294,7 @@ LLGroupNotifyBox::~LLGroupNotifyBox()
|
|||||||
// virtual
|
// virtual
|
||||||
BOOL LLGroupNotifyBox::handleRightMouseDown(S32 x, S32 y, MASK mask)
|
BOOL LLGroupNotifyBox::handleRightMouseDown(S32 x, S32 y, MASK mask)
|
||||||
{
|
{
|
||||||
|
if (!LLPanel::handleRightMouseDown(x, y, mask))
|
||||||
moveToBack();
|
moveToBack();
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -486,13 +486,9 @@ BOOL LLNotifyBox::handleMouseUp(S32 x, S32 y, MASK mask)
|
|||||||
// virtual
|
// virtual
|
||||||
BOOL LLNotifyBox::handleRightMouseDown(S32 x, S32 y, MASK mask)
|
BOOL LLNotifyBox::handleRightMouseDown(S32 x, S32 y, MASK mask)
|
||||||
{
|
{
|
||||||
if (!mIsTip)
|
bool done = LLPanel::handleRightMouseDown(x, y, mask);
|
||||||
{
|
if (!done && !mIsTip) moveToBack(true);
|
||||||
moveToBack(true);
|
return done || !mIsTip;
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
return LLPanel::handleRightMouseDown(x, y, mask);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user