Calculate statistics percentages relative to active time span.

This commit is contained in:
Bartosz Taudul 2023-03-03 22:19:43 +01:00
parent fc7bd61576
commit e659c630fd
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -537,7 +537,7 @@ void View::DrawStatistics()
} }
else else
{ {
timeRange = m_worker.GetLastTime(); timeRange = m_worker.GetLastTime() - m_worker.GetFirstTime();
} }
if( m_statMode == 0 || m_statMode == 2 ) if( m_statMode == 0 || m_statMode == 2 )