Fix border layer not working

This commit is contained in:
smoogipoo 2018-10-17 18:29:30 +09:00
parent f42f9cffe3
commit b7435c0c5f

View File

@ -61,11 +61,8 @@ namespace osu.Game.Rulesets.Edit
return;
}
var layerBelowRuleset = new BorderLayer
{
RelativeSizeAxes = Axes.Both,
Child = CreateLayerContainer()
};
var layerBelowRuleset = CreateLayerContainer();
layerBelowRuleset.Child = new BorderLayer { RelativeSizeAxes = Axes.Both };
var layerAboveRuleset = CreateLayerContainer();
layerAboveRuleset.Children = new Drawable[]