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:
parent
c5c6f6b9e0
commit
744f32ab35
@ -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();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user