Changed LoadWrapper back to DelayedLoadWrapper and fixed the implementation (dependent on framework change, delay now in ctor)

This commit is contained in:
FreezyLemon
2017-11-22 15:46:04 +01:00
parent 1d41e7cc8a
commit 7d428875b8
6 changed files with 18 additions and 19 deletions

View File

@ -43,16 +43,14 @@ namespace osu.Game.Beatmaps.Drawables
Children = new Drawable[]
{
new LoadWrapper(
new DelayedLoadWrapper(
new PanelBackground(beatmap)
{
RelativeSizeAxes = Axes.Both,
OnLoadComplete = d => d.FadeInFromZero(400, Easing.Out),
}
)
{
TimeBeforeLoad = 300,
},
},
300
),
new FillFlowContainer
{
Direction = FillDirection.Vertical,