diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2010-12-11 18:02:59 +0200 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2010-12-11 18:02:59 +0200 |
commit | 0d764afb9c0ba5dd3aeed67370f8d5c7d9b7cf45 (patch) | |
tree | d5e37b57f44bde962b7b9cbcb6e6fd819b404504 /indra/newview/llscreenchannel.cpp | |
parent | 1d686283a467808eda2d7bd8a2c109d4924151f2 (diff) |
STORM-391 FIXED Dismiss toasts that don't fit on screen.
Make sure older toasts don't appear after newer ones fade out.
Diffstat (limited to 'indra/newview/llscreenchannel.cpp')
-rw-r--r-- | indra/newview/llscreenchannel.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llscreenchannel.cpp b/indra/newview/llscreenchannel.cpp index 64e75a6cb2..0eeb89792b 100644 --- a/indra/newview/llscreenchannel.cpp +++ b/indra/newview/llscreenchannel.cpp @@ -595,14 +595,13 @@ 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(); } } } |