mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-23 17:20:48 +00:00
Add icon to annotation tooltip.
This commit is contained in:
@@ -436,6 +436,8 @@ void View::DrawTimeline()
|
||||
if( drawMouseLine && ImGui::IsMouseHoveringRect( linepos + ImVec2( aMin, 0 ), linepos + ImVec2( aMax, lineh ) ) )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
TextDisabledUnformatted( ICON_FA_NOTE_STICKY );
|
||||
ImGui::SameLine();
|
||||
if( ann->text.empty() )
|
||||
{
|
||||
TextDisabledUnformatted( "Empty annotation" );
|
||||
|
||||
Reference in New Issue
Block a user