This commit is contained in:
EVAST9919 2017-09-22 22:10:05 +03:00
parent d73b40768e
commit ced6204219
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ namespace osu.Game.Screens.Play.BreaksOverlay
remainingTimeBox
.ResizeWidthTo(remaining_time_container_max_size, fade_duration, Easing.OutQuint)
.Then()
.ResizeWidthTo(0, b.Duration);
.ResizeWidthTo(0, b.Duration - fade_duration);
Scheduler.AddDelayed(() => remainingTimeCounter.StartCounting(b.EndTime), b.StartTime);
remainingTimeCounter.FadeIn(fade_duration);

View File

@ -46,7 +46,7 @@ namespace osu.Game.Screens.Play.BreaksOverlay
var currentTime = Clock.CurrentTime;
if (currentTime < remainingTime)
{
int currentSecond = (int)Math.Floor((remainingTime - Clock.CurrentTime) / 1000.0) + 1;
int currentSecond = (int)Math.Floor((remainingTime - Clock.CurrentTime) / 1000.0);
if (currentSecond != previousSecond)
{
counter.Text = currentSecond.ToString();