From b682a77f827fb93ac4473dc1e69779f2dbac9c50 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 27 May 2026 21:52:46 +0200 Subject: [PATCH] Focus the manual window on chapter change. --- profiler/src/profiler/TracyView_Manual.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/profiler/src/profiler/TracyView_Manual.cpp b/profiler/src/profiler/TracyView_Manual.cpp index 37816387..a289f453 100644 --- a/profiler/src/profiler/TracyView_Manual.cpp +++ b/profiler/src/profiler/TracyView_Manual.cpp @@ -15,6 +15,7 @@ void View::DrawManual() { const auto scale = GetScale(); ImGui::SetNextWindowSize( ImVec2( 1200 * scale, 800 * scale ), ImGuiCond_FirstUseEver ); + if( m_manualPositionReset ) ImGui::SetNextWindowFocus(); ImGui::Begin( "User manual", &m_showManual ); if( ImGui::GetCurrentWindowRead()->SkipItems ) { ImGui::End(); return; }