mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-17 15:54:23 +00:00
Focus the manual window on chapter change.
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user