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:
parent
ce4a44000f
commit
1f2a82b7ab
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user