mirror of
https://github.com/wolfpld/tracy.git
synced 2026-08-17 16:49:43 +00:00
Pass yMin, yMax through TimelineContext.
This commit is contained in:
@@ -104,9 +104,9 @@ int64_t TimelineItemPlot::RangeEnd() const
|
||||
return m_plot->data.back().time.Val();
|
||||
}
|
||||
|
||||
bool TimelineItemPlot::DrawContents( const TimelineContext& ctx, int& offset, bool hover, float yMin, float yMax )
|
||||
bool TimelineItemPlot::DrawContents( const TimelineContext& ctx, int& offset, bool hover )
|
||||
{
|
||||
return m_view.DrawPlot( *m_plot, ctx.pxns, offset, ctx.wpos, hover, yMin, yMax );
|
||||
return m_view.DrawPlot( *m_plot, ctx.pxns, offset, ctx.wpos, hover, ctx.yMin, ctx.yMax );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user