mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +00:00
- 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:
parent
9430e1556f
commit
59f09d4893
2 changed files with 1 additions and 1 deletions
|
@ -345,6 +345,7 @@ DBaseStatusBar::DBaseStatusBar ()
|
|||
CPlayer = NULL;
|
||||
ShowLog = false;
|
||||
defaultScale = { (double)CleanXfac, (double)CleanYfac };
|
||||
SetSize(0);
|
||||
|
||||
CreateAltHUD();
|
||||
}
|
||||
|
|
|
@ -320,7 +320,6 @@ class BaseStatusBar native ui
|
|||
|
||||
virtual void Init()
|
||||
{
|
||||
SetSize(0, 320, 200);
|
||||
}
|
||||
|
||||
native virtual void Tick ();
|
||||
|
|
Loading…
Reference in a new issue