Tidy up visually

This commit is contained in:
Dean Herbert 2017-08-02 20:41:38 +09:00
parent 81b738f68c
commit 51d2b9c35c
2 changed files with 6 additions and 11 deletions

View File

@ -82,7 +82,7 @@ protected override void UpdateState(ArmedState state)
this.MoveToY(-0.1f).FadeOut();
// animation
this.FadeIn(200).MoveToY(0.9f, preempt);
this.FadeIn(200).MoveToY(1, preempt);
}
Expire(true);

View File

@ -2,7 +2,6 @@
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.UI;
using OpenTK;
@ -14,17 +13,13 @@ public class CatchPlayfield : Playfield<CatchBaseHit, CatchJudgement>
{
public CatchPlayfield()
{
Size = new Vector2(1, 0.9f);
Anchor = Anchor.BottomCentre;
Origin = Anchor.BottomCentre;
Size = new Vector2(1);
Anchor = Anchor.TopCentre;
Origin = Anchor.TopCentre;
Children = new Drawable[]
{
new Box
{
RelativeSizeAxes = Axes.Both,
Alpha = 0.5f
},
new Catcher
{
RelativePositionAxes = Axes.Both,
@ -32,7 +27,7 @@ public CatchPlayfield()
Scale = new Vector2(0.2f),
FillMode = FillMode.Fit,
Origin = Anchor.TopCentre,
Position = new Vector2(0.5f, 0.9f),
Position = new Vector2(0.5f, 1),
}
};
}