mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 14:12:55 +08:00
Make Mods IEnumerable.
This commit is contained in:
parent
ff51af94ec
commit
2de25c23b4
@ -2,6 +2,7 @@
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using osu.Framework.Audio.Track;
|
||||
using osu.Framework.Configuration;
|
||||
@ -27,7 +28,7 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
public PlayMode PlayMode => beatmap?.BeatmapInfo?.Mode > PlayMode.Osu ? beatmap.BeatmapInfo.Mode : PreferredPlayMode ?? PlayMode.Osu;
|
||||
|
||||
public readonly Bindable<Mod[]> Mods = new Bindable<Mod[]>();
|
||||
public readonly Bindable<IEnumerable<Mod>> Mods = new Bindable<IEnumerable<Mod>>();
|
||||
|
||||
public readonly bool WithStoryboard;
|
||||
|
||||
|
@ -34,7 +34,7 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
private FillFlowContainer<ModSection> modSectionsContainer;
|
||||
|
||||
public readonly Bindable<Mod[]> SelectedMods = new Bindable<Mod[]>();
|
||||
public readonly Bindable<IEnumerable<Mod>> SelectedMods = new Bindable<IEnumerable<Mod>>();
|
||||
|
||||
public readonly Bindable<PlayMode> PlayMode = new Bindable<PlayMode>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user