Revert window modes to previous code to correctly apply framework restrictions

This commit is contained in:
Dean Herbert
2020-12-22 13:04:39 +09:00
parent ce2b96afc5
commit 7c5964fad8
2 changed files with 3 additions and 2 deletions

View File

@ -59,9 +59,10 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
Children = new Drawable[]
{
windowModeDropdown = new SettingsEnumDropdown<WindowMode>
windowModeDropdown = new SettingsDropdown<WindowMode>
{
LabelText = "Screen mode",
ItemSource = windowModes,
Current = config.GetBindable<WindowMode>(FrameworkSetting.WindowMode),
},
resolutionSettingsContainer = new Container