Use properties instead of fields

This commit is contained in:
Dan Balasescu 2024-11-19 18:48:30 +09:00
parent db7def9d34
commit a5327aa562
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -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!;