diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-08-20 18:02:29 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-08-20 18:02:29 +0300 |
commit | 655d8a01ea9cc08b014bd1f38e3db2bc87be90e6 (patch) | |
tree | 2ce67c718b76b8ea7e41ecd6551cc171a8106ed1 /server/TracyView.cpp | |
parent | 49bda91be56581dd2d33ff1829deec4f07b7d0f1 (diff) |
Move vis data to timeline controller.
Diffstat (limited to 'server/TracyView.cpp')
-rw-r--r-- | server/TracyView.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 6c73f5e9..e069872c 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -838,7 +838,7 @@ bool View::DrawImpl() if( ImGui::SmallButton( " " ICON_FA_CARET_LEFT " " ) ) ZoomToPrevFrame(); ImGui::SameLine(); { - const auto vis = Vis( m_frames ).visible; + const auto vis = m_tc.Vis( m_frames ).visible; if( !vis ) { ImGui::PushStyleColor( ImGuiCol_Text, GImGui->Style.Colors[ImGuiCol_TextDisabled] ); @@ -1085,6 +1085,7 @@ bool View::DrawImpl() if( std::chrono::duration_cast<std::chrono::milliseconds>( now - m_firstFrameTime ).count() > 500 ) { m_firstFrame = false; + m_tc.FirstFrameExpired(); } } } |