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

Push pxns to HeaderExtraContents().

This commit is contained in:
Bartosz Taudul
2022-09-03 22:55:54 +02:00
parent 3ee928a7d1
commit 840709fe46
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ void TimelineItem::Draw( bool firstFrame, double pxns, int& offset, const ImVec2
if( m_showFull )
{
DrawLine( draw, dpos + ImVec2( 0, hdrOffset + ty - 1 ), dpos + ImVec2( w, hdrOffset + ty - 1 ), HeaderLineColor() );
HeaderExtraContents( hdrOffset, wpos, labelWidth, hover );
HeaderExtraContents( hdrOffset, wpos, labelWidth, pxns, hover );
}
if( hover && ImGui::IsMouseHoveringRect( wpos + ImVec2( 0, hdrOffset ), wpos + ImVec2( ty + labelWidth, hdrOffset + ty ) ) )