mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Plot can't be empty.
This commit is contained in:
parent
591fbdf75a
commit
4ed905ca88
@ -2102,7 +2102,7 @@ int View::DrawPlots( int offset, double pxns, const ImVec2& wpos, bool hover )
|
||||
|
||||
for( auto& v : m_plots )
|
||||
{
|
||||
if( v->data.empty() ) continue;
|
||||
assert( !v->data.empty() );
|
||||
|
||||
draw->AddText( wpos + ImVec2( ty, offset ), 0xFF44DDDD, GetString( v->name ) );
|
||||
draw->AddLine( wpos + ImVec2( 0, offset + ty - 1 ), wpos + ImVec2( w, offset + ty - 1 ), 0x8844DDDD );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user