progress viewer will no longer fade out if toggled quickly from visible to invisible to visible again.

master
Andrew A. de Laix 2010-12-08 13:59:45 -08:00
parent 115851ce14
commit 27aebda80f
1 changed files with 2 additions and 2 deletions

View File

@ -133,13 +133,13 @@ void LLProgressView::setVisible(BOOL visible)
mFadeTimer.start();
}
// showing progress view
else if (!getVisible() && visible)
else if (visible && (!getVisible() || mFadeTimer.getStarted()))
{
setFocus(TRUE);
mFadeTimer.stop();
mProgressTimer.start();
LLPanel::setVisible(TRUE);
}
}
}