mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Update async load usage to new style.
This commit is contained in:
@ -33,19 +33,15 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new DelayedLoadContainer
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
TimeBeforeLoad = 300,
|
||||
FinishedLoading = d => d.FadeInFromZero(400, EasingTypes.Out),
|
||||
Children = new[]
|
||||
new DelayedLoadContainer(
|
||||
new PanelBackground(beatmap)
|
||||
{
|
||||
new PanelBackground(beatmap)
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Depth = 1,
|
||||
}
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
OnLoadComplete = d => d.FadeInFromZero(400, EasingTypes.Out),
|
||||
}
|
||||
)
|
||||
{
|
||||
TimeBeforeLoad = 300,
|
||||
},
|
||||
new FillFlowContainer
|
||||
{
|
||||
|
Reference in New Issue
Block a user