Skip to content

Commit 0e6ba23

Browse files
committed
Fix columns size in source view files list.
1 parent 429de33 commit 0e6ba23

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎profiler/src/profiler/TracySourceView.cpp‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1990,10 +1990,8 @@ void SourceView::RenderSymbolSourceView( const AddrStatData& as, Worker& worker,
19901990
if( !widthSet )
19911991
{
19921992
widthSet = true;
1993-
const auto w = ImGui::GetWindowWidth();
19941993
const auto c0 = ImGui::CalcTextSize( "12345678901234567890" ).x;
19951994
ImGui::SetColumnWidth( 0, c0 );
1996-
ImGui::SetColumnWidth( 1, w - c0 );
19971995
}
19981996
}
19991997
for( auto& v : fileCountsVec )

0 commit comments

Comments
 (0)