Change default zoom of timing screen timeline to most zoomed out

This commit is contained in:
Dean Herbert
2020-09-30 16:39:27 +09:00
parent e760ed8e01
commit 5b200a8ca4
3 changed files with 21 additions and 6 deletions

View File

@ -115,10 +115,18 @@ namespace osu.Game.Screens.Edit
new TimelineTickDisplay(),
CreateTimelineContent(),
}
}, timelineContainer.Add);
}, t =>
{
timelineContainer.Add(t);
OnTimelineLoaded(t);
});
});
}
protected virtual void OnTimelineLoaded(TimelineArea timelineArea)
{
}
protected abstract Drawable CreateMainContent();
protected virtual Drawable CreateTimelineContent() => new Container();