mirror of
https://github.com/wolfpld/tracy.git
synced 2024-09-20 05:42:18 +00:00
Don't hide hex thread id in tooltip.
This commit is contained in:
parent
29fcddca0b
commit
53992b9b6b
@ -610,13 +610,7 @@ bool View::Draw()
|
||||
}
|
||||
TextFocused( "Thread:", s_instance->m_worker.GetThreadString( data.thread ) );
|
||||
ImGui::SameLine();
|
||||
TextDisabledUnformatted( "(id)" );
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
ImGui::Text( "0x%" PRIX64, data.thread );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
ImGui::TextDisabled( "(0x%" PRIX64 ")", data.thread );
|
||||
ImGui::Separator();
|
||||
if( ImGui::Button( "I understand" ) )
|
||||
{
|
||||
@ -4091,13 +4085,7 @@ void View::DrawZoneInfoWindow()
|
||||
ImGui::Text( "%s:%i", m_worker.GetString( srcloc.file ), srcloc.line );
|
||||
TextFocused( "Thread:", m_worker.GetThreadString( tid ) );
|
||||
ImGui::SameLine();
|
||||
TextDisabledUnformatted( "(id)" );
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
ImGui::Text( "0x%" PRIX64, tid );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
ImGui::TextDisabled( "(0x%" PRIX64 ")", tid );
|
||||
if( ev.text.active )
|
||||
{
|
||||
TextFocused( "User text:", m_worker.GetString( ev.text ) );
|
||||
@ -4600,13 +4588,7 @@ void View::DrawGpuInfoWindow()
|
||||
ImGui::Text( "%s:%i", m_worker.GetString( srcloc.file ), srcloc.line );
|
||||
TextFocused( "Thread:", m_worker.GetThreadString( tid ) );
|
||||
ImGui::SameLine();
|
||||
TextDisabledUnformatted( "(id)" );
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
ImGui::Text( "0x%" PRIX64, tid );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
ImGui::TextDisabled( "(0x%" PRIX64 ")", tid );
|
||||
|
||||
ImGui::Separator();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user