mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:43:04 +08:00
Remove unused OnTimelineLoaded
flow
This commit is contained in:
parent
a905731053
commit
1d196262d0
@ -125,18 +125,10 @@ namespace osu.Game.Screens.Edit
|
|||||||
mainContent.Add(content);
|
mainContent.Add(content);
|
||||||
content.FadeInFromZero(300, Easing.OutQuint);
|
content.FadeInFromZero(300, Easing.OutQuint);
|
||||||
|
|
||||||
LoadComponentAsync(new TimelineArea(CreateTimelineContent()), t =>
|
LoadComponentAsync(new TimelineArea(CreateTimelineContent()), timelineContainer.Add);
|
||||||
{
|
|
||||||
timelineContainer.Add(t);
|
|
||||||
OnTimelineLoaded(t);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void OnTimelineLoaded(TimelineArea timelineArea)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
protected abstract Drawable CreateMainContent();
|
protected abstract Drawable CreateMainContent();
|
||||||
|
|
||||||
protected virtual Drawable CreateTimelineContent() => new Container();
|
protected virtual Drawable CreateTimelineContent() => new Container();
|
||||||
|
Loading…
Reference in New Issue
Block a user