mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Drawing is not finished until function return.
This commit is contained in:
parent
e321e91c7d
commit
6c21edd509
@ -63,7 +63,6 @@ void TimelineItem::Draw( bool firstFrame, const TimelineContext& ctx, int yOffse
|
||||
}
|
||||
|
||||
DrawOverlay( wpos + ImVec2( 0, yBegin ), wpos + ImVec2( w, yEnd ) );
|
||||
DrawFinished();
|
||||
ImGui::PopClipRect();
|
||||
|
||||
float labelWidth;
|
||||
@ -127,6 +126,7 @@ void TimelineItem::Draw( bool firstFrame, const TimelineContext& ctx, int yOffse
|
||||
|
||||
yEnd += 0.2f * ostep;
|
||||
AdjustThreadHeight( firstFrame, yBegin, yEnd );
|
||||
DrawFinished();
|
||||
|
||||
ImGui::PopID();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user