mirror of https://github.com/ppy/osu
Use properties instead of fields
This commit is contained in:
parent
db7def9d34
commit
a5327aa562
|
@ -19,12 +19,12 @@ public partial class UpdateableBeatmapBackgroundSprite : ModelBackedDrawable<IBe
|
|||
/// <summary>
|
||||
/// Delay before the background is loaded while on-screen.
|
||||
/// </summary>
|
||||
public double BackgroundLoadDelay = 500;
|
||||
public double BackgroundLoadDelay { get; set; } = 500;
|
||||
|
||||
/// <summary>
|
||||
/// Delay before the background is unloaded while off-screen.
|
||||
/// </summary>
|
||||
public double BackgroundUnloadDelay = 10000;
|
||||
public double BackgroundUnloadDelay { get; set; } = 10000;
|
||||
|
||||
[Resolved]
|
||||
private BeatmapManager beatmaps { get; set; } = null!;
|
||||
|
|
Loading…
Reference in New Issue