CHUI-287 FIX IM toast panel is closed upon mouse up and doesn't pass the mouse click that activates "click to walk".

master
Seth ProductEngine 2012-08-28 20:08:17 +03:00
parent 11e9f66e62
commit 051bc99573
2 changed files with 3 additions and 3 deletions

View File

@ -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());
}

View File

@ -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();