mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 06:06:50 +00:00
Fix ypos scale for chapters panel
This commit is contained in:
parent
61bd00c12b
commit
463e4eb584
@ -615,6 +615,11 @@ void CNewGameDialog::ApplySettings( KeyValues *inResourceData )
|
||||
BaseClass::ApplySettings( inResourceData );
|
||||
|
||||
int ypos = inResourceData->GetInt( "chapterypos", 40 );
|
||||
if (IsProportional())
|
||||
{
|
||||
ypos = scheme()->GetProportionalScaledValueEx(GetScheme(), ypos);
|
||||
}
|
||||
|
||||
for ( int i = 0; i < NUM_SLOTS; ++i )
|
||||
{
|
||||
m_PanelYPos[i] = ypos;
|
||||
|
Loading…
Reference in New Issue
Block a user