mirror of
https://github.com/ppy/osu
synced 2025-01-18 20:10:49 +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[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
windowModeDropdown = new SettingsEnumDropdown<WindowMode>
|
windowModeDropdown = new SettingsDropdown<WindowMode>
|
||||||
{
|
{
|
||||||
LabelText = "Screen mode",
|
LabelText = "Screen mode",
|
||||||
|
ItemSource = windowModes,
|
||||||
Current = config.GetBindable<WindowMode>(FrameworkSetting.WindowMode),
|
Current = config.GetBindable<WindowMode>(FrameworkSetting.WindowMode),
|
||||||
},
|
},
|
||||||
resolutionSettingsContainer = new Container
|
resolutionSettingsContainer = new Container
|
||||||
|
@ -9,7 +9,7 @@ using osu.Game.Graphics.UserInterface;
|
|||||||
|
|
||||||
namespace osu.Game.Overlays.Settings
|
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;
|
protected new OsuDropdown<T> Control => (OsuDropdown<T>)base.Control;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user