mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-04-22 15:47:19 +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 # Conflicts: # wadsrc/static/zscript/ui/statusbar/statusbar.zs
This commit is contained in:
parent
47fd36d6ed
commit
69d39bcd44
2 changed files with 1 additions and 1 deletions
|
@ -377,6 +377,7 @@ DBaseStatusBar::DBaseStatusBar ()
|
|||
CPlayer = NULL;
|
||||
ShowLog = false;
|
||||
defaultScale = { (double)CleanXfac, (double)CleanYfac };
|
||||
SetSize(0);
|
||||
|
||||
CreateAltHUD();
|
||||
}
|
||||
|
|
|
@ -322,7 +322,6 @@ class BaseStatusBar native ui
|
|||
|
||||
virtual void Init()
|
||||
{
|
||||
SetSize(0, 320, 200);
|
||||
mSmallFont = HUDFont.Create("SmallFont");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue