mirror of https://github.com/ppy/osu
Bindables should be readonly
This commit is contained in:
parent
7c65048ae5
commit
63d366ea4b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue