summaryrefslogtreecommitdiff
path: root/indra/newview/lltoast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lltoast.cpp')
-rw-r--r--indra/newview/lltoast.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lltoast.cpp b/indra/newview/lltoast.cpp
index 9144f9c3e0..6f5b25214e 100644
--- a/indra/newview/lltoast.cpp
+++ b/indra/newview/lltoast.cpp
@@ -104,6 +104,7 @@ bool LLToast::timerHasExpired()
if (mTimer.getStarted())
{
F32 elapsed_time = mTimer.getElapsedTimeF32();
+ // after 4 seconds a toast should start fade
if (elapsed_time > 4)
{
setBackgroundOpaque(FALSE);
@@ -119,7 +120,7 @@ bool LLToast::timerHasExpired()
//--------------------------------------------------------------------------
void LLToast::hide()
{
- setVisible(FALSE); //TODO: store in Chiclet's history
+ setVisible(FALSE);
mIsViewed = false;
mTimer.stop();
mOnFade(this, LLSD());