moved windowmode code to LoadComplete (?)

This commit is contained in:
Owen Young 2021-03-22 19:48:52 -05:00
parent fc632fd48a
commit 8ea7271d5c

View File

@ -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