1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

make PreviewPlaying readonly instead of abstract

This commit is contained in:
Jorolf 2017-09-26 12:21:00 +02:00
parent ce4a44000f
commit 1f2a82b7ab
3 changed files with 1 additions and 3 deletions

View File

@ -27,7 +27,6 @@ namespace osu.Game.Overlays.Direct
private Box progressBar;
protected override PlayButton PlayButton => playButton;
public override Bindable<bool> PreviewPlaying { get; } = new Bindable<bool>();
public DirectGridPanel(BeatmapSetInfo beatmap) : base(beatmap)
{

View File

@ -35,7 +35,6 @@ namespace osu.Game.Overlays.Direct
private Box progressBar;
protected override PlayButton PlayButton => playButton;
public override Bindable<bool> PreviewPlaying { get; } = new Bindable<bool>();
[BackgroundDependencyLoader]
private void load(LocalisationEngine localisation, OsuColour colours)

View File

@ -39,7 +39,7 @@ namespace osu.Game.Overlays.Direct
private BeatmapManager beatmaps;
private NotificationOverlay notifications;
public abstract Bindable<bool> PreviewPlaying { get; }
public readonly Bindable<bool> PreviewPlaying = new Bindable<bool>();
protected abstract PlayButton PlayButton { get; }
protected override Container<Drawable> Content => content;