Add icon to annotation tooltip.

This commit is contained in:
Bartosz Taudul
2026-06-23 22:41:18 +02:00
parent f71620c8c8
commit b715c0c32e

View File

@@ -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" );