Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-09-03 17:45:53 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-09-03 18:51:31 +0300
commit9355a14657959553a3d25b55aeb84675f58694a3 (patch)
treed994e0d8bdc343050e0b0f0b9c55e723fde49951 /server/TracyView_Timeline.cpp
parent8034fce416482995ba34e2f16f0bc1d008ba396a (diff)
New TimelineController begin/end logic.
Diffstat (limited to 'server/TracyView_Timeline.cpp')
-rw-r--r--server/TracyView_Timeline.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/TracyView_Timeline.cpp b/server/TracyView_Timeline.cpp
index 2d512726..610dc03e 100644
--- a/server/TracyView_Timeline.cpp
+++ b/server/TracyView_Timeline.cpp
@@ -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 )