Mark activity when find zone histogram is highlighting.

This commit is contained in:
Bartosz Taudul 2022-09-28 01:03:50 +02:00
parent 8117d7d4d4
commit fd93f244f0
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -1343,6 +1343,7 @@ void View::DrawFindZone()
const auto c = uint32_t( ( sin( s_time * 10 ) * 0.25 + 0.75 ) * 255 ); const auto c = uint32_t( ( sin( s_time * 10 ) * 0.25 + 0.75 ) * 255 );
const auto color = 0xFF000000 | ( c << 16 ) | ( c << 8 ) | c; const auto color = 0xFF000000 | ( c << 16 ) | ( c << 8 ) | c;
DrawLine( draw, ImVec2( dpos.x + zonePos, dpos.y ), ImVec2( dpos.x + zonePos, dpos.y+Height-2 ), color ); DrawLine( draw, ImVec2( dpos.x + zonePos, dpos.y ), ImVec2( dpos.x + zonePos, dpos.y+Height-2 ), color );
m_wasActive = true;
} }
} }
} }