1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

New TimelineController begin/end logic.

This commit is contained in:
Bartosz Taudul
2022-09-03 16:45:53 +02:00
parent 8034fce416
commit 9355a14657
3 changed files with 15 additions and 3 deletions
+2 -1
View File
@@ -291,6 +291,7 @@ void View::DrawTimeline()
}
}
m_tc.Begin();
DrawTimelineFramesHeader();
auto& frames = m_worker.GetFrames();
for( auto fd : frames )
@@ -1039,7 +1040,7 @@ void View::DrawTimeline()
offset = DrawPlots( offset, pxns, wpos, hover, yMin, yMax );
}
m_tc.End( offset );
m_tc.End( pxns, offset, wpos, hover, yMin, yMax );
ImGui::EndChild();
for( auto& ann : m_annotations )