mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 05:03:53 +00:00
Preprocess timeline items in controller.
This commit is contained in:
parent
7dd31ab609
commit
66d8dab925
@ -107,6 +107,14 @@ void TimelineController::End( double pxns, const ImVec2& wpos, bool hover, bool
|
|||||||
UpdateCenterItem();
|
UpdateCenterItem();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for( auto& item : m_items )
|
||||||
|
{
|
||||||
|
if( item->WantPreprocess() && item->IsVisible() )
|
||||||
|
{
|
||||||
|
item->Preprocess();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
int yOffset = 0;
|
int yOffset = 0;
|
||||||
|
|
||||||
for( auto& item : m_items )
|
for( auto& item : m_items )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user