Bindables should be readonly

This commit is contained in:
Dean Herbert 2017-11-22 10:54:33 +09:00
parent 7c65048ae5
commit 63d366ea4b
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ public class BottomBarContainer : Container
private const float corner_radius = 5;
private const float contents_padding = 15;
public Bindable<WorkingBeatmap> Beatmap = new Bindable<WorkingBeatmap>();
public readonly Bindable<WorkingBeatmap> Beatmap = new Bindable<WorkingBeatmap>();
protected Track Track => Beatmap.Value.Track;
private readonly Drawable background;