diff --git a/profiler/src/profiler/TracyMarkdown.cpp b/profiler/src/profiler/TracyMarkdown.cpp index 721e6564..f052891c 100644 --- a/profiler/src/profiler/TracyMarkdown.cpp +++ b/profiler/src/profiler/TracyMarkdown.cpp @@ -273,6 +273,7 @@ public: font = g_fonts.italic; } ImGui::PushFont( font, FontNormal * FontSizes[header] ); + Glue(); PrintTextExt( text, text + size ); break; } @@ -354,7 +355,6 @@ private: void PrintTextExt( const char* text, const char* end = nullptr, bool popFont = true ) { if( !link.empty() ) ImGui::PushStyleColor( ImGuiCol_Text, ImVec4( 0.55f, 0.55f, 1.f, 1.f ) ); - Glue(); const auto hovered = PrintText( text, end ); if( popFont ) ImGui::PopFont(); if( !link.empty() )