We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9074461 + e548258 commit 684400bCopy full SHA for 684400b
profiler/src/profiler/TracyView_ZoneInfo.cpp
@@ -447,7 +447,14 @@ void View::DrawZoneInfoWindow()
447
}
448
if( m_worker.HasZoneExtra( ev ) && m_worker.GetZoneExtra( ev ).text.Active() )
449
{
450
- TextFocused( "User text:", m_worker.GetString( m_worker.GetZoneExtra( ev ).text ) );
+ TextDisabledUnformatted( "User text:" );
451
+ ImGui::SameLine();
452
+ if( ClipboardButton( 4 ) )
453
+ {
454
+ ImGui::SetClipboardText( m_worker.GetString( m_worker.GetZoneExtra( ev ).text ) );
455
+ }
456
457
+ ImGui::TextUnformatted( m_worker.GetString( m_worker.GetZoneExtra( ev ).text ) );
458
459
460
ImGui::Separator();
0 commit comments