1
0
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:
Dean Herbert 2022-05-24 16:33:20 +09:00
parent a905731053
commit 1d196262d0

View File

@ -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();