mirror of
https://github.com/osukey/osukey.git
synced 2025-06-09 21:37:59 +09: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]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load()
|
||||||
{
|
{
|
||||||
info.ShowProgress = false;
|
|
||||||
info.TextColour = Colour4.White;
|
info.TextColour = Colour4.White;
|
||||||
info.Font = OsuFont.Torus.With(size: 18, weight: FontWeight.Bold);
|
info.Font = OsuFont.Torus.With(size: 18, weight: FontWeight.Bold);
|
||||||
}
|
}
|
||||||
|
@ -53,7 +53,7 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
set => startTime = value;
|
set => startTime = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool ShowProgress = true;
|
public bool ShowProgress { get; init; } = true;
|
||||||
|
|
||||||
public double EndTime
|
public double EndTime
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user