From 64dbaf9d842f7c238946b7373af9780ba24a952a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 28 Sep 2022 01:09:55 +0200 Subject: [PATCH] Mark activity on buzz anim in zone trace. --- server/TracyView_ZoneInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyView_ZoneInfo.cpp b/server/TracyView_ZoneInfo.cpp index 61dc6813..a7392e9f 100644 --- a/server/TracyView_ZoneInfo.cpp +++ b/server/TracyView_ZoneInfo.cpp @@ -199,6 +199,7 @@ void DrawZoneTrace( T zone, const std::vector& trace, const Worker& worker, B const auto time = anim.Time(); const auto indentVal = sin( time * 60.f ) * 10.f * time; ImGui::SameLine( 0, ImGui::GetStyle().ItemSpacing.x + indentVal ); + s_wasActive = true; } else { @@ -253,6 +254,7 @@ void DrawZoneTrace( T zone, const std::vector& trace, const Worker& worker, B const auto time = anim.Time(); const auto indentVal = sin( time * 60.f ) * 10.f * time; ImGui::SameLine( 0, ImGui::GetStyle().ItemSpacing.x + indentVal ); + s_wasActive = true; } else {