mirror of
https://github.com/osukey/osukey.git
synced 2025-05-03 04:37:30 +09:00
first attempt at changing windowMode to be fullscreen on default
This commit is contained in:
parent
716b9048c1
commit
f7bf23dbe9
@ -126,6 +126,8 @@ namespace osu.Game
|
|||||||
|
|
||||||
private Bindable<int> configSkin;
|
private Bindable<int> configSkin;
|
||||||
|
|
||||||
|
private Bindable<WindowMode> windowMode;
|
||||||
|
|
||||||
private readonly string[] args;
|
private readonly string[] args;
|
||||||
|
|
||||||
private readonly List<OverlayContainer> overlays = new List<OverlayContainer>();
|
private readonly List<OverlayContainer> overlays = new List<OverlayContainer>();
|
||||||
@ -631,6 +633,12 @@ namespace osu.Game
|
|||||||
|
|
||||||
loadComponentSingleFile(volume = new VolumeOverlay(), leftFloatingOverlayContent.Add, true);
|
loadComponentSingleFile(volume = new VolumeOverlay(), leftFloatingOverlayContent.Add, true);
|
||||||
|
|
||||||
|
frameworkConfig.GetBindable<WindowMode>(FrameworkSetting.WindowMode);
|
||||||
|
windowMode.BindValueChanged(mode => ScheduleAfterChildren(() =>
|
||||||
|
{
|
||||||
|
windowMode.Value = WindowMode.Windowed;
|
||||||
|
}), true);
|
||||||
|
|
||||||
var onScreenDisplay = new OnScreenDisplay();
|
var onScreenDisplay = new OnScreenDisplay();
|
||||||
|
|
||||||
onScreenDisplay.BeginTracking(this, frameworkConfig);
|
onScreenDisplay.BeginTracking(this, frameworkConfig);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user