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

@ -33,7 +33,7 @@ namespace osu.Game.Rulesets.Catch.UI
Size = new Vector2(0.86f); // matches stable's vertical offset for catcher plate
InternalChild = new PlayfieldLayer
InternalChild = new PlayfieldAdjustmentContainer
{
RelativeSizeAxes = Axes.Both,
Children = new Drawable[]

View File

@ -7,12 +7,12 @@ using OpenTK;
namespace osu.Game.Rulesets.Catch.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
{

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
{

View File

@ -6,7 +6,7 @@ using OpenTK;
namespace osu.Game.Rulesets.Taiko.UI
{
public class PlayfieldLayer : Container
public class PlayfieldAdjustmentContainer : Container
{
private const float default_relative_height = TaikoPlayfield.DEFAULT_HEIGHT / 768;
private const float default_aspect = 16f / 9f;

View File

@ -58,7 +58,7 @@ namespace osu.Game.Rulesets.Taiko.UI
{
Direction.Value = ScrollingDirection.Left;
InternalChild = new PlayfieldLayer
InternalChild = new PlayfieldAdjustmentContainer
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,