From dc4b51e5225673b73e3b17d5c5ef5898ded0b8bb Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 30 Jun 2026 14:22:46 +0200 Subject: [PATCH] Always draw separator in compare window. --- profiler/src/profiler/TracyView_Compare.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/profiler/src/profiler/TracyView_Compare.cpp b/profiler/src/profiler/TracyView_Compare.cpp index 96d6e567..5c107b00 100644 --- a/profiler/src/profiler/TracyView_Compare.cpp +++ b/profiler/src/profiler/TracyView_Compare.cpp @@ -318,6 +318,7 @@ void View::DrawCompare() ImGui::RadioButton( "Frames", &m_compare.compareMode, 1 ); ImGui::SameLine(); ImGui::RadioButton( "Source diff", &m_compare.compareMode, 2 ); + ImGui::Separator(); if( oldMode != m_compare.compareMode ) { m_compare.Reset(); @@ -325,7 +326,6 @@ void View::DrawCompare() if( m_compare.compareMode == 2 ) { - ImGui::Separator(); ImGui::BeginChild( "##compare" ); TextDisabledUnformatted( "Diff direction: " ); @@ -588,8 +588,6 @@ void View::DrawCompare() else { assert( m_compare.compareMode == 1 ); - - ImGui::Separator(); ImGui::BeginChild( "##compare" ); if( ImGui::TreeNodeEx( "Frame sets", ImGuiTreeNodeFlags_DefaultOpen ) ) {