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:
parent
d4f2cd244d
commit
b8b7442eb8
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user