1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:42:56 +08:00
This commit is contained in:
EVAST9919 2017-04-28 05:02:25 +03:00
parent eacf2045f0
commit c27909d53c
2 changed files with 5 additions and 2 deletions

View File

@ -139,7 +139,7 @@ namespace osu.Game.Screens.Play
if (objects == null)
return;
double currentTime = (AudioClock?.CurrentTime ?? Time.Current);
double currentTime = AudioClock?.CurrentTime ?? Time.Current;
double progress = (currentTime - firstHitTime) / lastHitTime;
bar.UpdatePosition((float)progress);

View File

@ -1,4 +1,7 @@
using osu.Framework.Allocation;
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Primitives;