mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Cleanup.
This commit is contained in:
@ -59,6 +59,7 @@ namespace osu.Game.Beatmaps.Drawables
|
|||||||
{
|
{
|
||||||
displayedCover?.FadeOut(400);
|
displayedCover?.FadeOut(400);
|
||||||
displayedCover?.Expire();
|
displayedCover?.Expire();
|
||||||
|
displayedCover = null;
|
||||||
|
|
||||||
if (beatmapSet != null)
|
if (beatmapSet != null)
|
||||||
{
|
{
|
||||||
|
@ -61,8 +61,8 @@ namespace osu.Game.Overlays.BeatmapSet
|
|||||||
title.Text = BeatmapSet?.Metadata.Title ?? string.Empty;
|
title.Text = BeatmapSet?.Metadata.Title ?? string.Empty;
|
||||||
artist.Text = BeatmapSet?.Metadata.Artist ?? string.Empty;
|
artist.Text = BeatmapSet?.Metadata.Artist ?? string.Empty;
|
||||||
onlineStatusPill.Status = BeatmapSet?.OnlineInfo.Status ?? BeatmapSetOnlineStatus.None;
|
onlineStatusPill.Status = BeatmapSet?.OnlineInfo.Status ?? BeatmapSetOnlineStatus.None;
|
||||||
|
cover.BeatmapSet = BeatmapSet;
|
||||||
|
|
||||||
cover.BeatmapSet = null;
|
|
||||||
if (BeatmapSet != null)
|
if (BeatmapSet != null)
|
||||||
{
|
{
|
||||||
downloadButtonsContainer.FadeIn(transition_duration);
|
downloadButtonsContainer.FadeIn(transition_duration);
|
||||||
@ -70,8 +70,6 @@ namespace osu.Game.Overlays.BeatmapSet
|
|||||||
|
|
||||||
noVideoButtons.FadeTo(BeatmapSet.OnlineInfo.HasVideo ? 0 : 1, transition_duration);
|
noVideoButtons.FadeTo(BeatmapSet.OnlineInfo.HasVideo ? 0 : 1, transition_duration);
|
||||||
videoButtons.FadeTo(BeatmapSet.OnlineInfo.HasVideo ? 1 : 0, transition_duration);
|
videoButtons.FadeTo(BeatmapSet.OnlineInfo.HasVideo ? 1 : 0, transition_duration);
|
||||||
|
|
||||||
cover.BeatmapSet = BeatmapSet;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user