mirror of
https://github.com/ppy/osu.git
synced 2024-11-07 17:27:25 +08:00
Update usage of SupportedWindowModes
This commit is contained in:
parent
0f0dd9f2dc
commit
cf5acbf66e
@ -75,7 +75,6 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
if (window != null)
|
||||
{
|
||||
currentDisplay.BindTo(window.CurrentDisplayBindable);
|
||||
windowModes.BindTo(window.SupportedWindowModes);
|
||||
window.DisplaysChanged += onDisplaysChanged;
|
||||
}
|
||||
|
||||
@ -87,7 +86,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
windowModeDropdown = new SettingsDropdown<WindowMode>
|
||||
{
|
||||
LabelText = GraphicsSettingsStrings.ScreenMode,
|
||||
ItemSource = windowModes,
|
||||
Items = window?.SupportedWindowModes,
|
||||
Current = config.GetBindable<WindowMode>(FrameworkSetting.WindowMode),
|
||||
},
|
||||
displayDropdown = new DisplaySettingsDropdown
|
||||
|
Loading…
Reference in New Issue
Block a user