1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-18 04:55:36 +08:00
This commit is contained in:
FreezyLemon 2017-12-09 10:15:26 +01:00
commit 9c59385850

View File

@ -117,7 +117,7 @@ namespace osu.Game.Overlays.Direct
{ {
base.Update(); base.Update();
if (PreviewPlaying && Preview != null) if (PreviewPlaying && Preview != null && Preview.IsLoaded)
{ {
PreviewBar.Width = (float)(Preview.CurrentTime / Preview.Length); PreviewBar.Width = (float)(Preview.CurrentTime / Preview.Length);
} }