1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 15:53:21 +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;
removeLinks();
if (beatmapSet?.OnlineInfo.Availability != null)
{
Header?.ResizeHeightTo(450, 500);
@ -95,11 +96,6 @@ namespace osu.Game.Overlays.BeatmapSet
base.Show();
}
public override void Hide()
{
link.RemoveAll(x => true);
base.Hide();
}
private void removeLinks() => link?.RemoveAll(x => true);
}
}