- fixed: attaching a new status bar to a player now calls 'setsizeneeded' - fixes an issue where the screen geometry is out of sync with the characteristics of the new status bar.

This commit is contained in:
Rachael Alexanderson 2018-10-20 13:22:11 -04:00
commit e2f6fa95d4
2 changed files with 10 additions and 1 deletions

View file

@ -588,6 +588,13 @@ DEFINE_ACTION_FUNCTION(DBaseStatusBar, BeginHUD)
return 0;
}
DEFINE_ACTION_FUNCTION(DBaseStatusBar, UpdateScreenGeometry)
{
PARAM_SELF_PROLOGUE(DBaseStatusBar);
setsizeneeded = true;
return 0;
}
//---------------------------------------------------------------------------
//
// PROC AttachToPlayer