Mark activity on buzz anim in zone trace.

This commit is contained in:
Bartosz Taudul 2022-09-28 01:09:55 +02:00
parent 29c7b5f259
commit 64dbaf9d84
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -199,6 +199,7 @@ void DrawZoneTrace( T zone, const std::vector<T>& 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<T>& 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
{