1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Add .Maximize to BeefPerf window flags

Makes maximize button work. Also removed the enum name from each enum since it's already in the variable declaration.
This commit is contained in:
moneyl 2021-07-07 15:36:38 -04:00
parent c10565678e
commit 9131217790

View file

@ -234,9 +234,8 @@ namespace BeefPerf
mMainFrame = new MainFrame(); mMainFrame = new MainFrame();
mDockingFrame = mMainFrame.mDockingFrame; mDockingFrame = mMainFrame.mDockingFrame;
BFWindow.Flags windowFlags = BFWindow.Flags.Border | BFWindow.Flags.SysMenu | //| BFWindow.Flags.CaptureMediaKeys | BFWindow.Flags windowFlags = .Border | .SysMenu | .Caption | .Minimize | .Maximize |
BFWindow.Flags.Caption | BFWindow.Flags.Minimize | BFWindow.Flags.QuitOnClose | BFWindowBase.Flags.Resizable | .QuitOnClose | .Resizable | .Menu | .SysMenu;
BFWindow.Flags.Menu | BFWindow.Flags.SysMenu;
if (mWantsFullscreen) if (mWantsFullscreen)
windowFlags |= BFWindowBase.Flags.Fullscreen; windowFlags |= BFWindowBase.Flags.Fullscreen;