2
0
mirror of https://github.com/wolfpld/tracy synced 2026-02-15 13:42:17 +00:00

Changing log time requires bin cache reset.

This commit is contained in:
Bartosz Taudul
2019-06-17 01:05:46 +02:00
parent e30cf7eafa
commit b2bbd95430

View File

@@ -6243,7 +6243,10 @@ void View::DrawFindZone()
{
ImGui::Checkbox( "Log values", &m_findZone.logVal );
ImGui::SameLine();
ImGui::Checkbox( "Log time", &m_findZone.logTime );
if( ImGui::Checkbox( "Log time", &m_findZone.logTime ) )
{
m_findZone.binCache.numBins = -1;
}
ImGui::SameLine();
ImGui::Checkbox( "Cumulate time", &m_findZone.cumulateTime );
ImGui::SameLine();