From d2d50d2cea55d9e385f7b784dca9bde456f2f4c4 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 12 Jul 2025 14:31:15 +0200 Subject: [PATCH] Fix flame graph limit range button position. --- profiler/src/profiler/TracyView_FlameGraph.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/profiler/src/profiler/TracyView_FlameGraph.cpp b/profiler/src/profiler/TracyView_FlameGraph.cpp index fad9eee9..2b238916 100644 --- a/profiler/src/profiler/TracyView_FlameGraph.cpp +++ b/profiler/src/profiler/TracyView_FlameGraph.cpp @@ -776,6 +776,10 @@ void View::DrawFlameGraph() if( m_flameExternal ) ImGui::EndDisabled(); } + ImGui::SameLine(); + ImGui::SeparatorEx( ImGuiSeparatorFlags_Vertical ); + ImGui::SameLine(); + if( ImGui::Checkbox( "Limit range", &m_flameRange.active ) ) { if( m_flameRange.active && m_flameRange.min == 0 && m_flameRange.max == 0 )