mirror of
https://github.com/ppy/osu
synced 2025-01-11 08:39:31 +00:00
PlayfieldLayer -> PlayfieldAdjustmentContainer
This commit is contained in:
parent
c3fa7f167f
commit
d0007c047a
@ -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[]
|
||||
|
@ -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
|
||||
{
|
@ -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)
|
||||
{
|
||||
|
@ -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[]
|
||||
|
@ -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
|
||||
{
|
@ -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;
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user