1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Add color key for find zone time range.

This commit is contained in:
Bartosz Taudul 2020-07-31 17:57:54 +02:00
parent 65e00eb2d4
commit efc9c7c58f

View File

@ -14607,6 +14607,8 @@ void View::DrawRanges()
{
ImGui::SetNextWindowSize( ImVec2( 400, 100 ), ImGuiCond_FirstUseEver );
ImGui::Begin( "Time range limits", &m_showRanges );
SmallColorBox( 0x4488DDDD );
ImGui::SameLine();
if( SmallCheckbox( "Find zone", &m_findZone.range.active ) )
{
if( m_findZone.range.active && m_findZone.range.min == 0 && m_findZone.range.max == 0 )