mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +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();
|
||||
}
|
||||
|
||||
for( auto& item : m_items )
|
||||
{
|
||||
if( item->WantPreprocess() && item->IsVisible() )
|
||||
{
|
||||
item->Preprocess();
|
||||
}
|
||||
}
|
||||
|
||||
int yOffset = 0;
|
||||
|
||||
for( auto& item : m_items )
|
||||
|
Loading…
Reference in New Issue
Block a user