PlayfieldLayer -> PlayfieldAdjustmentContainer

This commit is contained in:
smoogipoo
2018-10-05 10:39:18 +09:00
parent c3fa7f167f
commit d0007c047a
7 changed files with 9 additions and 9 deletions

View File

@ -32,7 +32,7 @@ namespace osu.Game.Rulesets.Osu.Edit
new HitObjectCompositionTool<Spinner>()
};
protected override Container CreateLayerContainer() => new PlayfieldLayer { RelativeSizeAxes = Axes.Both };
protected override Container CreateLayerContainer() => new PlayfieldAdjustmentContainer { RelativeSizeAxes = Axes.Both };
public override HitObjectMask CreateMaskFor(DrawableHitObject hitObject)
{

View File

@ -29,7 +29,7 @@ namespace osu.Game.Rulesets.Osu.UI
Size = new Vector2(0.75f);
InternalChild = new PlayfieldLayer
InternalChild = new PlayfieldAdjustmentContainer
{
RelativeSizeAxes = Axes.Both,
Children = new Drawable[]

View File

@ -7,12 +7,12 @@ using OpenTK;
namespace osu.Game.Rulesets.Osu.UI
{
public class PlayfieldLayer : Container
public class PlayfieldAdjustmentContainer : Container
{
protected override Container<Drawable> Content => content;
private readonly Container content;
public PlayfieldLayer()
public PlayfieldAdjustmentContainer()
{
InternalChild = new Container
{