mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-08 08:33:48 +00:00
Reset font size when displaying markdown tooltip.
This commit is contained in:
@@ -399,6 +399,7 @@ private:
|
||||
|
||||
ImGui::SetMouseCursor( ImGuiMouseCursor_Hand );
|
||||
ImGui::BeginTooltip();
|
||||
ImGui::PushFont( g_fonts.normal, FontNormal );
|
||||
ImGui::PushStyleColor( ImGuiCol_Text, ImVec4( 1.f, 1.f, 1.f, 1.f ) );
|
||||
if( isSource )
|
||||
{
|
||||
@@ -456,6 +457,7 @@ private:
|
||||
ImGui::TextUnformatted( link.c_str() );
|
||||
}
|
||||
ImGui::PopStyleColor();
|
||||
ImGui::PopFont();
|
||||
ImGui::EndTooltip();
|
||||
if( IsMouseClicked( ImGuiMouseButton_Left ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user