Skip to content

Commit

Permalink
Change CHudHintDisplay's font to HudHintTextLarge
Browse files Browse the repository at this point in the history
The previous font was misaligned.
  • Loading branch information
TomyLobo committed Dec 20, 2019
1 parent 690caa9 commit 26c9a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mp/src/game/client/hud_hintdisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void CHudHintDisplay::ApplySchemeSettings( vgui::IScheme *pScheme )
BaseClass::ApplySchemeSettings( pScheme );

SetFgColor( GetSchemeColor("HintMessageFg", pScheme) );
m_hFont = pScheme->GetFont( "HudHintText", true );
m_hFont = pScheme->GetFont( "HudHintTextLarge", true );
m_pLabel->SetBgColor( GetSchemeColor("HintMessageBg", pScheme) );
m_pLabel->SetPaintBackgroundType( 2 );
m_pLabel->SetSize( 0, GetTall() ); // Start tiny, it'll grow.
Expand Down

0 comments on commit 26c9a4b

Please sign in to comment.