mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Fix DefaultSongProgress
graph not resetting if time is in intro
This commit is contained in:
@ -185,7 +185,9 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
{
|
{
|
||||||
bar.CurrentTime = gameplayClock?.CurrentTime ?? Time.Current;
|
bar.CurrentTime = gameplayClock?.CurrentTime ?? Time.Current;
|
||||||
|
|
||||||
if (!isIntro)
|
if (isIntro)
|
||||||
|
graph.Progress = 0;
|
||||||
|
else
|
||||||
graph.Progress = (int)(graph.ColumnCount * progress);
|
graph.Progress = (int)(graph.ColumnCount * progress);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user