mirror of
https://github.com/ppy/osu
synced 2025-01-18 12:00:58 +00:00
Revert window modes to previous code to correctly apply framework restrictions
This commit is contained in:
parent
ce2b96afc5
commit
7c5964fad8
@ -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
|
||||
|
@ -9,7 +9,7 @@ using osu.Game.Graphics.UserInterface;
|
||||
|
||||
namespace osu.Game.Overlays.Settings
|
||||
{
|
||||
public abstract class SettingsDropdown<T> : SettingsItem<T>
|
||||
public class SettingsDropdown<T> : SettingsItem<T>
|
||||
{
|
||||
protected new OsuDropdown<T> Control => (OsuDropdown<T>)base.Control;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user