1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 22:34:09 +08:00

Fix little bug

This commit is contained in:
KingLuigi4932 2019-06-12 19:11:05 +03:00
parent c5c6f6b9e0
commit 744f32ab35

View File

@ -26,6 +26,7 @@ namespace osu.Game.Overlays.BeatmapSet
beatmapSet = value; beatmapSet = value;
removeLinks();
if (beatmapSet?.OnlineInfo.Availability != null) if (beatmapSet?.OnlineInfo.Availability != null)
{ {
Header?.ResizeHeightTo(450, 500); Header?.ResizeHeightTo(450, 500);
@ -95,11 +96,6 @@ namespace osu.Game.Overlays.BeatmapSet
base.Show(); base.Show();
} }
public override void Hide() private void removeLinks() => link?.RemoveAll(x => true);
{
link.RemoveAll(x => true);
base.Hide();
}
} }
} }