mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Embed behaviour into UserCoverBackground
This commit is contained in:
@ -146,15 +146,12 @@ namespace osu.Game.Screens.Ranking
|
||||
Children = new[]
|
||||
{
|
||||
middleLayerBackground = new Box { RelativeSizeAxes = Axes.Both },
|
||||
new DelayedLoadUnloadWrapper(() => new UserCoverBackground
|
||||
new UserCoverBackground
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
User = Score.User,
|
||||
Colour = ColourInfo.GradientVertical(Color4.White.Opacity(0.5f), Color4Extensions.FromHex("#444").Opacity(0))
|
||||
}, 300, 5000)
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
middleLayerContentContainer = new Container { RelativeSizeAxes = Axes.Both }
|
||||
|
Reference in New Issue
Block a user