1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:47:26 +08:00

Make SongProgressInfo.ShowProgress init-only (and remove duplicate init)

This commit is contained in:
Bartłomiej Dach 2023-01-18 23:35:02 +01:00
parent d4f2cd244d
commit b8b7442eb8
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View File

@ -71,7 +71,6 @@ namespace osu.Game.Screens.Play.HUD
[BackgroundDependencyLoader]
private void load()
{
info.ShowProgress = false;
info.TextColour = Colour4.White;
info.Font = OsuFont.Torus.With(size: 18, weight: FontWeight.Bold);
}

View File

@ -53,7 +53,7 @@ namespace osu.Game.Screens.Play.HUD
set => startTime = value;
}
public bool ShowProgress = true;
public bool ShowProgress { get; init; } = true;
public double EndTime
{