Showing the changes to interface/src/ui/Stats.cpp (1 of 1 file). Show all
Unified · Split
| @@ -222,11 +222,11 @@ void Stats::display( · 221 unmodified lines | |||
| 222 | 222 | ||
| 223 | lines = _expanded ? 5 : 3; | 223 | lines = _expanded ? 5 : 3; |
| 224 | int columnOneWidth = _generalStatsWidth; | 224 | int columnOneWidth = _generalStatsWidth; |
| 225 | |||
| 226 | PerformanceTimer::tallyAllTimerRecords(); // do this even if we're not displaying them, so they don't stack up | ||
| 225 | 227 | ||
| 226 | if (_expanded && Menu::getInstance()->isOptionChecked(MenuOption::DisplayTimingDetails)) { | 228 | if (_expanded && Menu::getInstance()->isOptionChecked(MenuOption::DisplayTimingDetails)) { |
| 227 | 229 | ||
| 228 | PerformanceTimer::tallyAllTimerRecords(); | ||
| 229 | |||
| 230 | columnOneWidth = _generalStatsWidth + _pingStatsWidth + _geoStatsWidth; // make it 3 columns wide... | 230 | columnOneWidth = _generalStatsWidth + _pingStatsWidth + _geoStatsWidth; // make it 3 columns wide... |
| 231 | // we will also include room for 1 line per timing record and a header of 4 lines | 231 | // we will also include room for 1 line per timing record and a header of 4 lines |
| 232 | lines += 4; | 232 | lines += 4; |