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

Use TimelineContext data for drawing plots.

This commit is contained in:
Bartosz Taudul
2023-03-18 17:11:24 +01:00
parent 0ecdcbc13c
commit 26791f55d1
3 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ int64_t TimelineItemPlot::RangeEnd() const
bool TimelineItemPlot::DrawContents( const TimelineContext& ctx, int& offset )
{
return m_view.DrawPlot( *m_plot, ctx.pxns, offset, ctx.wpos, ctx.hover, ctx.yMin, ctx.yMax );
return m_view.DrawPlot( ctx, *m_plot, offset );
}
}