- move setting status bar defaults to proper location

BaseStatusBar.Init() method isn't suitable for this because it will override SBarInfoWrapper setup done in native code

https://forum.zdoom.org/viewtopic.php?t=66676
https://forum.zdoom.org/viewtopic.php?t=66339
This commit is contained in:
alexey.lysiuk 2019-12-18 15:40:39 +02:00
parent 9430e1556f
commit 59f09d4893
2 changed files with 1 additions and 1 deletions

View file

@ -345,6 +345,7 @@ DBaseStatusBar::DBaseStatusBar ()
CPlayer = NULL;
ShowLog = false;
defaultScale = { (double)CleanXfac, (double)CleanYfac };
SetSize(0);
CreateAltHUD();
}

View file

@ -320,7 +320,6 @@ class BaseStatusBar native ui
virtual void Init()
{
SetSize(0, 320, 200);
}
native virtual void Tick ();