Move editor playfield border locally to osu! composer

This commit is contained in:
Bartłomiej Dach
2020-10-19 21:20:13 +02:00
parent bca0539735
commit 7c388f1132
2 changed files with 6 additions and 5 deletions

View File

@ -56,6 +56,11 @@ namespace osu.Game.Rulesets.Osu.Edit
[BackgroundDependencyLoader]
private void load()
{
LayerBelowRuleset.Add(new PlayfieldBorder
{
RelativeSizeAxes = Axes.Both,
State = { Value = Visibility.Visible }
});
LayerBelowRuleset.Add(distanceSnapGridContainer = new Container { RelativeSizeAxes = Axes.Both });
selectedHitObjects = EditorBeatmap.SelectedHitObjects.GetBoundCopy();