mirror of
https://github.com/ppy/osu.git
synced 2026-06-02 14:10:45 +08:00
Use properties instead of fields
This commit is contained in:
@@ -19,12 +19,12 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
/// <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!;
|
||||
|
||||
Reference in New Issue
Block a user