mirror of
https://github.com/ppy/osu
synced 2025-01-18 12:00:58 +00:00
oops
This commit is contained in:
parent
d73b40768e
commit
ced6204219
@ -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);
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user