Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'server/TracySourceView.cpp')
-rw-r--r--server/TracySourceView.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp
index 1d725899..29143a34 100644
--- a/server/TracySourceView.cpp
+++ b/server/TracySourceView.cpp
@@ -1377,14 +1377,6 @@ void SourceView::RenderSymbolView( Worker& worker, View& view )
ImGui::RadioButton( "Assembly", &m_displayMode, DisplayAsm );
}
- if( !m_asm.empty() )
- {
- ImGui::SameLine();
- ImGui::Spacing();
- ImGui::SameLine();
- TextFocused( ICON_FA_WEIGHT_HANGING " Code:", MemSizeToString( m_codeLen ) );
- }
-
AddrStatData as;
if( m_cost == CostType::SampleCount )
{
@@ -2432,6 +2424,12 @@ uint64_t SourceView::RenderSymbolAsmView( const AddrStatData& as, Worker& worker
}
}
+ ImGui::SameLine();
+ ImGui::Spacing();
+ ImGui::SameLine();
+ TextFocused( ICON_FA_WEIGHT_HANGING, MemSizeToString( m_codeLen ) );
+ TooltipIfHovered( "Code size" );
+
#ifndef TRACY_NO_FILESELECTOR
ImGui::SameLine();
ImGui::Spacing();