mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 16:03:01 +08:00
Fix little bug
This commit is contained in:
parent
c5c6f6b9e0
commit
744f32ab35
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user