1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47:24 +08:00

Fix header background being invisible in multiplayer/playlists

This commit is contained in:
smoogipoo 2021-02-12 15:27:37 +09:00
parent cb4d119f23
commit a1be3c8bfd

View File

@ -34,8 +34,8 @@ namespace osu.Game.Beatmaps.Drawables
/// </summary> /// </summary>
protected virtual double UnloadDelay => 10000; protected virtual double UnloadDelay => 10000;
protected override DelayedLoadWrapper CreateDelayedLoadWrapper(Func<Drawable> createContentFunc, double timeBeforeLoad) protected override DelayedLoadWrapper CreateDelayedLoadWrapper(Func<Drawable> createContentFunc, double timeBeforeLoad) =>
=> new DelayedLoadUnloadWrapper(createContentFunc, timeBeforeLoad, UnloadDelay); new DelayedLoadUnloadWrapper(createContentFunc, timeBeforeLoad, UnloadDelay) { RelativeSizeAxes = Axes.Both };
protected override double TransformDuration => 400; protected override double TransformDuration => 400;