mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-08 08:33:48 +00:00
Icons description separator must start at newline.
Otherwise it will clash with wrong things, like middle-of-line table header separators.
This commit is contained in:
@@ -142,8 +142,8 @@ void View::DrawManual()
|
||||
ImGui::Dummy( ImVec2( 0, ImGui::GetTextLineHeight() * 0.25f ) );
|
||||
ImGui::PopFont();
|
||||
|
||||
const auto separator = chunk.text.find( "-----" );
|
||||
const auto size = separator == std::string::npos ? chunk.text.size() : separator;
|
||||
const auto separator = chunk.text.find( "\n-----" );
|
||||
const auto size = separator == std::string::npos ? chunk.text.size() : ( separator + 1 );
|
||||
|
||||
m_markdown.Print( chunk.text.c_str(), size );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user