mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +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 ) );
|
DrawOverlay( wpos + ImVec2( 0, yBegin ), wpos + ImVec2( w, yEnd ) );
|
||||||
DrawFinished();
|
|
||||||
ImGui::PopClipRect();
|
ImGui::PopClipRect();
|
||||||
|
|
||||||
float labelWidth;
|
float labelWidth;
|
||||||
@ -127,6 +126,7 @@ void TimelineItem::Draw( bool firstFrame, const TimelineContext& ctx, int yOffse
|
|||||||
|
|
||||||
yEnd += 0.2f * ostep;
|
yEnd += 0.2f * ostep;
|
||||||
AdjustThreadHeight( firstFrame, yBegin, yEnd );
|
AdjustThreadHeight( firstFrame, yBegin, yEnd );
|
||||||
|
DrawFinished();
|
||||||
|
|
||||||
ImGui::PopID();
|
ImGui::PopID();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user