mirror of
https://github.com/ppy/osu.git
synced 2024-12-18 00:42:55 +08:00
Merge branch 'master' of https://github.com/ppy/osu
This commit is contained in:
commit
9c59385850
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user