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

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
+3 -1
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 )
{
}