Avoid destroying editor screens when changing between modes

This commit is contained in:
Dean Herbert
2020-09-24 17:03:54 +09:00
parent abec9224cf
commit 158d307126
7 changed files with 43 additions and 4 deletions

View File

@ -24,6 +24,11 @@ namespace osu.Game.Screens.Edit.Timing
[Resolved]
private EditorClock clock { get; set; }
public TimingScreen()
: base(EditorScreenMode.Timing)
{
}
protected override Drawable CreateMainContent() => new GridContainer
{
RelativeSizeAxes = Axes.Both,