Put screens below the top and bottom bars of the editor

This commit is contained in:
smoogipoo
2017-10-07 01:56:11 +09:00
parent c0b394811f
commit 10abaa866b

View File

@ -38,6 +38,17 @@ namespace osu.Game.Screens.Edit
Children = new[] Children = new[]
{ {
new Container
{
Name = "Screen container",
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding { Top = 40, Bottom = 60 },
Child = screenContainer = new Container
{
RelativeSizeAxes = Axes.Both,
Masking = true
}
},
new Container new Container
{ {
Name = "Top bar", Name = "Top bar",
@ -94,17 +105,6 @@ namespace osu.Game.Screens.Edit
} }
} }
}, },
new Container
{
Name = "Screen container",
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding { Top = 40, Bottom = 60 },
Child = screenContainer = new Container
{
RelativeSizeAxes = Axes.Both,
Masking = true
}
}
}; };
timeline.Beatmap.BindTo(Beatmap); timeline.Beatmap.BindTo(Beatmap);