mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Improve timeline message tooltips.
This commit is contained in:
parent
74575250a5
commit
7cc5149355
@ -2059,10 +2059,10 @@ void View::DrawZones()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ImGui::TextUnformatted( TimeToString( (*msgit)->time - m_worker.GetTimeBegin() ) );
|
TextFocused( "Message at", TimeToString( (*msgit)->time - m_worker.GetTimeBegin() ) );
|
||||||
ImGui::Separator();
|
ImGui::PushStyleColor( ImGuiCol_Text, (*msgit)->color );
|
||||||
ImGui::TextUnformatted( "Message text:" );
|
ImGui::TextUnformatted( m_worker.GetString( (*msgit)->ref ) );
|
||||||
ImGui::TextColored( ImVec4( 0xCC / 255.f, 0xCC / 255.f, 0x22 / 255.f, 1.f ), "%s", m_worker.GetString( (*msgit)->ref ) );
|
ImGui::PopStyleColor();
|
||||||
}
|
}
|
||||||
ImGui::EndTooltip();
|
ImGui::EndTooltip();
|
||||||
m_msgHighlight = *msgit;
|
m_msgHighlight = *msgit;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user