Skip to content
Snippets Groups Projects
Commit 9cb157dd authored by Richard Linden's avatar Richard Linden
Browse files

EXP-1654 FIX fast timers does not show entire frame when Full bar = Max

parent 587a1a42
No related branches found
No related tags found
No related merge requests found
...@@ -105,6 +105,7 @@ void LLFastTimerView::onPause() ...@@ -105,6 +105,7 @@ void LLFastTimerView::onPause()
if (!LLFastTimer::sPauseHistory) if (!LLFastTimer::sPauseHistory)
{ {
mScrollIndex = 0; mScrollIndex = 0;
LLFastTimer::sResetHistory = true;
getChild<LLButton>("pause_btn")->setLabel(getString("pause")); getChild<LLButton>("pause_btn")->setLabel(getString("pause"));
} }
else else
...@@ -591,6 +592,7 @@ void LLFastTimerView::draw() ...@@ -591,6 +592,7 @@ void LLFastTimerView::draw()
{ {
mAvgCountTotal = ticks; mAvgCountTotal = ticks;
mMaxCountTotal = ticks; mMaxCountTotal = ticks;
LLFastTimer::sResetHistory = false;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment