1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00
This commit is contained in:
EVAST9919 2017-05-09 06:23:03 +03:00
parent 2c92ee432b
commit 315f1f1256

View File

@ -25,7 +25,7 @@ namespace osu.Game.Screens.Play
private int previousSecond;
private bool defaultsSetted;
private const int margin = 10;
private const int margin = 10;
public IClock AudioClock;
@ -97,7 +97,7 @@ namespace osu.Game.Screens.Play
timeLeft.Text = @"-" + TimeSpan.FromMilliseconds(endTime - AudioClock.CurrentTime).ToString(@"m\:ss");
}
int currentPercent = (int)((songCurrentTime / (endTime - startTime)) * 100);
int currentPercent = (int)(songCurrentTime / (endTime - startTime) * 100);
if (currentPercent != previousPercent)
{