summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-12-02 11:02:26 -0800
committerRichard Linden <none@none>2011-12-02 11:02:26 -0800
commit95bc798693f77460bda0c20df3e1c389d5c762b8 (patch)
tree6060b5e2d226f2b98a5ed0f191c1ed9d3796cb34 /indra/newview
parentc278f259c684d32a1da339fd4d0b0d4226916de0 (diff)
EXP-1654 FIX fast timers does not show entire frame when Full bar = Max
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfasttimerview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfasttimerview.cpp b/indra/newview/llfasttimerview.cpp
index 065dc5f4be..233038daba 100644
--- a/indra/newview/llfasttimerview.cpp
+++ b/indra/newview/llfasttimerview.cpp
@@ -105,6 +105,7 @@ void LLFastTimerView::onPause()
if (!LLFastTimer::sPauseHistory)
{
mScrollIndex = 0;
+ LLFastTimer::sResetHistory = true;
getChild<LLButton>("pause_btn")->setLabel(getString("pause"));
}
else
@@ -591,6 +592,7 @@ void LLFastTimerView::draw()
{
mAvgCountTotal = ticks;
mMaxCountTotal = ticks;
+ LLFastTimer::sResetHistory = false;
}
}