Store View and Worker in TimelineController.

This commit is contained in:
Bartosz Taudul
2022-09-03 16:38:39 +02:00
parent b42182f0a8
commit 449dff0eca
3 changed files with 9 additions and 2 deletions

View File

@@ -5,11 +5,13 @@
namespace tracy
{
TimelineController::TimelineController()
TimelineController::TimelineController( View& view, const Worker& worker )
: m_height( 0 )
, m_offset( 0 )
, m_scroll( 0 )
, m_firstFrame( true )
, m_view( view )
, m_worker( worker )
{
}