CHUI-287 FIX IM toast panel is closed upon mouse up and doesn't pass the mouse click that activates "click to walk".
parent
11e9f66e62
commit
051bc99573
|
|
@ -104,9 +104,9 @@ LLToastIMPanel::~LLToastIMPanel()
|
|||
}
|
||||
|
||||
//virtual
|
||||
BOOL LLToastIMPanel::handleMouseDown(S32 x, S32 y, MASK mask)
|
||||
BOOL LLToastIMPanel::handleMouseUp(S32 x, S32 y, MASK mask)
|
||||
{
|
||||
if (LLPanel::handleMouseDown(x,y,mask) == FALSE)
|
||||
if (LLPanel::handleMouseUp(x,y,mask) == FALSE)
|
||||
{
|
||||
mNotification->respond(mNotification->getResponseTemplate());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ public:
|
|||
|
||||
LLToastIMPanel(LLToastIMPanel::Params &p);
|
||||
virtual ~LLToastIMPanel();
|
||||
/*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask);
|
||||
/*virtual*/ BOOL handleMouseUp(S32 x, S32 y, MASK mask);
|
||||
/*virtual*/ BOOL handleToolTip(S32 x, S32 y, MASK mask);
|
||||
private:
|
||||
void showInspector();
|
||||
|
|
|
|||
Loading…
Reference in New Issue