1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 04:02:57 +08:00
This commit is contained in:
DrabWeb 2018-05-31 05:48:42 -03:00
parent 42bc6b6b2e
commit 6781b81336
2 changed files with 2 additions and 3 deletions

View File

@ -59,6 +59,7 @@ namespace osu.Game.Beatmaps.Drawables
{
displayedCover?.FadeOut(400);
displayedCover?.Expire();
displayedCover = null;
if (beatmapSet != null)
{

View File

@ -61,8 +61,8 @@ namespace osu.Game.Overlays.BeatmapSet
title.Text = BeatmapSet?.Metadata.Title ?? string.Empty;
artist.Text = BeatmapSet?.Metadata.Artist ?? string.Empty;
onlineStatusPill.Status = BeatmapSet?.OnlineInfo.Status ?? BeatmapSetOnlineStatus.None;
cover.BeatmapSet = BeatmapSet;
cover.BeatmapSet = null;
if (BeatmapSet != null)
{
downloadButtonsContainer.FadeIn(transition_duration);
@ -70,8 +70,6 @@ namespace osu.Game.Overlays.BeatmapSet
noVideoButtons.FadeTo(BeatmapSet.OnlineInfo.HasVideo ? 0 : 1, transition_duration);
videoButtons.FadeTo(BeatmapSet.OnlineInfo.HasVideo ? 1 : 0, transition_duration);
cover.BeatmapSet = BeatmapSet;
}
else
{