From 711e3a7bcf2b905c8dc1ced77acea81b2c12baa8 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 22 Jun 2026 22:25:40 +0200 Subject: [PATCH] Add separator between timeline headers and content. --- profiler/src/profiler/TracyView_Timeline.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiler/src/profiler/TracyView_Timeline.cpp b/profiler/src/profiler/TracyView_Timeline.cpp index 19bce0e2..1c9b5947 100644 --- a/profiler/src/profiler/TracyView_Timeline.cpp +++ b/profiler/src/profiler/TracyView_Timeline.cpp @@ -353,6 +353,8 @@ void View::DrawTimeline() const auto yMin = ImGui::GetCursorScreenPos().y; const auto yMax = linepos.y + lineh; + draw->AddLineH( winpos.x, winpos.x + ImGui::GetContentRegionAvail().x + 1, yMin - 1, 0x0FFFFFFF ); + ImGui::SetNextWindowContentSize( ImVec2( 0, m_tc.GetHeight() ) ); ImGui::BeginChild( "##zoneWin", ImVec2( ImGui::GetContentRegionAvail().x, ImGui::GetContentRegionAvail().y ), false, ImGuiWindowFlags_AlwaysVerticalScrollbar | ImGuiWindowFlags_NoScrollWithMouse );