mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
moved windowmode code to LoadComplete (?)
This commit is contained in:
parent
fc632fd48a
commit
8ea7271d5c
@ -234,9 +234,6 @@ namespace osu.Game
|
||||
|
||||
SelectedMods.BindValueChanged(modsChanged);
|
||||
Beatmap.BindValueChanged(beatmapChanged, true);
|
||||
|
||||
windowMode = LocalConfig.GetBindable<WindowMode>(OsuSetting.WindowSetting);
|
||||
frameworkConfig.GetBindable<WindowMode>(FrameworkSetting.WindowMode).Value = windowMode.Value;
|
||||
}
|
||||
|
||||
private ExternalLinkOpener externalLinkOpener;
|
||||
@ -576,6 +573,9 @@ namespace osu.Game
|
||||
|
||||
dependencies.CacheAs(idleTracker = new GameIdleTracker(6000));
|
||||
|
||||
windowMode = LocalConfig.GetBindable<WindowMode>(OsuSetting.WindowSetting);
|
||||
frameworkConfig.GetBindable<WindowMode>(FrameworkSetting.WindowMode).Value = windowMode.Value;
|
||||
|
||||
AddRange(new Drawable[]
|
||||
{
|
||||
new VolumeControlReceptor
|
||||
|
Loading…
Reference in New Issue
Block a user