STORM-391 : pull into viewer-development
commit
7ce570e2c5
|
|
@ -595,20 +595,15 @@ void LLScreenChannel::showToastsBottom()
|
|||
}
|
||||
}
|
||||
|
||||
// Dismiss toasts we don't have space for (STORM-391).
|
||||
if(it != mToastList.rend())
|
||||
{
|
||||
mHiddenToastsNum = 0;
|
||||
for(; it != mToastList.rend(); it++)
|
||||
{
|
||||
(*it).toast->stopTimer();
|
||||
(*it).toast->setVisible(FALSE);
|
||||
mHiddenToastsNum++;
|
||||
(*it).toast->hide();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
closeOverflowToastPanel();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
|
|
@ -731,7 +726,6 @@ void LLNotificationsUI::LLScreenChannel::startToastTimer(LLToast* toast)
|
|||
//--------------------------------------------------------------------------
|
||||
void LLScreenChannel::hideToastsFromScreen()
|
||||
{
|
||||
closeOverflowToastPanel();
|
||||
for(std::vector<ToastElem>::iterator it = mToastList.begin(); it != mToastList.end(); it++)
|
||||
(*it).toast->setVisible(FALSE);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -81,9 +81,6 @@ public:
|
|||
// show all toasts in a channel
|
||||
virtual void redrawToasts() {};
|
||||
|
||||
virtual void closeOverflowToastPanel() {};
|
||||
virtual void hideOverflowToastPanel() {};
|
||||
|
||||
|
||||
// Channel's behavior-functions
|
||||
// set whether a channel will control hovering inside itself or not
|
||||
|
|
|
|||
Loading…
Reference in New Issue