diff --git a/profiler/src/profiler/TracyView_FrameTimeline.cpp b/profiler/src/profiler/TracyView_FrameTimeline.cpp index 83ee1b1c..3c099174 100644 --- a/profiler/src/profiler/TracyView_FrameTimeline.cpp +++ b/profiler/src/profiler/TracyView_FrameTimeline.cpp @@ -106,7 +106,9 @@ void View::DrawTimelineFrames( const FrameData& frames ) const auto ty025 = ty * 0.25f; const auto ty05 = round( ty * 0.5f ); + ImGui::PushID( &frames ); ImGui::InvisibleButton( "##zoneFrames", ImVec2( w, ty ) ); + ImGui::PopID(); bool hover = ImGui::IsItemHovered(); auto timespan = m_vd.zvEnd - m_vd.zvStart;