mirror of
https://github.com/wolfpld/tracy.git
synced 2026-08-21 02:28:26 +00:00
Push yPos to TimelineItem::Preprocess().
This commit is contained in:
@@ -143,7 +143,7 @@ void TimelineController::End( double pxns, const ImVec2& wpos, bool hover, bool
|
||||
{
|
||||
const auto yPos = wpos.y + yOffset;
|
||||
const bool visible = m_firstFrame || ( yPos < yMax && yPos + item->GetHeight() >= yMin );
|
||||
item->Preprocess( ctx, m_td, visible );
|
||||
item->Preprocess( ctx, m_td, visible, yPos );
|
||||
}
|
||||
yOffset += m_firstFrame ? 0 : item->GetHeight();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user