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

DrawContents reports if anything was drawn.

This commit is contained in:
Bartosz Taudul
2022-09-03 21:41:38 +02:00
parent eaa78de534
commit 0e94ed8fc6
5 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -101,9 +101,9 @@ int64_t TimelineItemPlot::RangeEnd() const
return m_plot->data.back().time.Val();
}
void TimelineItemPlot::DrawContents( double pxns, int& offset, const ImVec2& wpos, bool hover, float yMin, float yMax )
bool TimelineItemPlot::DrawContents( double pxns, int& offset, const ImVec2& wpos, bool hover, float yMin, float yMax )
{
m_view.DrawPlot( *m_plot, pxns, offset, wpos, hover, yMin, yMax );
return m_view.DrawPlot( *m_plot, pxns, offset, wpos, hover, yMin, yMax );
}
}