mirror of
https://github.com/ppy/osu.git
synced 2026-06-09 09:04:15 +08:00
Revert window modes to previous code to correctly apply framework restrictions
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user