mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 19:27:26 +08:00
Bindables should be readonly
This commit is contained in:
parent
7c65048ae5
commit
63d366ea4b
@ -17,7 +17,7 @@ namespace osu.Game.Screens.Edit.Components
|
||||
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
Block a user