mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Fix rendering of lines with no local samples.
This commit is contained in:
parent
66ef71cf7b
commit
c7da9b1092
@ -2494,7 +2494,7 @@ void SourceView::RenderAsmLine( AsmLine& line, const AddrStat& ipcnt, const Addr
|
||||
|
||||
if( iptotal.local + iptotal.ext != 0 )
|
||||
{
|
||||
if( m_childCalls && ipcnt.local + ipcnt.ext == 0 || ipcnt.local == 0 )
|
||||
if( ( m_childCalls && ipcnt.local + ipcnt.ext == 0 ) || ( !m_childCalls && ipcnt.local == 0 ) )
|
||||
{
|
||||
const auto ts = ImGui::CalcTextSize( " " );
|
||||
ImGui::ItemSize( ImVec2( 7 * ts.x, ts.y ) );
|
||||
|
Loading…
Reference in New Issue
Block a user