mirror of
https://github.com/ppy/osu.git
synced 2025-02-01 22:03:01 +08:00
Use properties instead of fields
This commit is contained in:
parent
db7def9d34
commit
a5327aa562
@ -19,12 +19,12 @@ namespace osu.Game.Beatmaps.Drawables
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Delay before the background is loaded while on-screen.
|
/// Delay before the background is loaded while on-screen.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public double BackgroundLoadDelay = 500;
|
public double BackgroundLoadDelay { get; set; } = 500;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Delay before the background is unloaded while off-screen.
|
/// Delay before the background is unloaded while off-screen.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public double BackgroundUnloadDelay = 10000;
|
public double BackgroundUnloadDelay { get; set; } = 10000;
|
||||||
|
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private BeatmapManager beatmaps { get; set; } = null!;
|
private BeatmapManager beatmaps { get; set; } = null!;
|
||||||
|
Loading…
Reference in New Issue
Block a user