Sequencer - Increased size of header font

This commit is contained in:
Emmanuel BENOîT 2017-11-25 09:31:08 +01:00
parent 454ac7327a
commit aa84f95727
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@ T_UIApp::T_UIApp( )
} }
{ {
ImFontConfig cfg; ImFontConfig cfg;
cfg.SizePixels = 9.0f; cfg.SizePixels = 11.0f;
smallFont_ = io.Fonts->AddFontDefault( &cfg ); smallFont_ = io.Fonts->AddFontDefault( &cfg );
ImFontConfig icons; ImFontConfig icons;

View file

@ -520,7 +520,7 @@ void T_SyncViewImpl_::sequencerHeader(
uint32_t( ( time - msf - sf ) / 60.f ) , uint32_t( ( time - msf - sf ) / 60.f ) ,
uint32_t( sf ) , uint32_t( msf * 1000.f ) ); uint32_t( sf ) , uint32_t( msf * 1000.f ) );
RenderTextClipped( taStart , taEnd , buffer , nullptr , nullptr , RenderTextClipped( taStart , taEnd , buffer , nullptr , nullptr ,
ImVec2{ .5f , .2f + ( ( bar % 2 ) ? .6f : 0.f ) } , &inner ); ImVec2{ .5f , .05f + ( ( bar % 2 ) ? .9f : 0.f ) } , &inner );
pos += barWidth; pos += barWidth;
bar ++; bar ++;
} }