mirror of
https://github.com/ppy/osu.git
synced 2025-02-05 11:42:55 +08:00
Tidy up visually
This commit is contained in:
parent
81b738f68c
commit
51d2b9c35c
@ -82,7 +82,7 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
|
|||||||
this.MoveToY(-0.1f).FadeOut();
|
this.MoveToY(-0.1f).FadeOut();
|
||||||
|
|
||||||
// animation
|
// animation
|
||||||
this.FadeIn(200).MoveToY(0.9f, preempt);
|
this.FadeIn(200).MoveToY(1, preempt);
|
||||||
}
|
}
|
||||||
|
|
||||||
Expire(true);
|
Expire(true);
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||||
|
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Shapes;
|
|
||||||
using osu.Game.Rulesets.Catch.Objects;
|
using osu.Game.Rulesets.Catch.Objects;
|
||||||
using osu.Game.Rulesets.UI;
|
using osu.Game.Rulesets.UI;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
@ -14,17 +13,13 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
{
|
{
|
||||||
public CatchPlayfield()
|
public CatchPlayfield()
|
||||||
{
|
{
|
||||||
Size = new Vector2(1, 0.9f);
|
Size = new Vector2(1);
|
||||||
Anchor = Anchor.BottomCentre;
|
|
||||||
Origin = Anchor.BottomCentre;
|
Anchor = Anchor.TopCentre;
|
||||||
|
Origin = Anchor.TopCentre;
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new Box
|
|
||||||
{
|
|
||||||
RelativeSizeAxes = Axes.Both,
|
|
||||||
Alpha = 0.5f
|
|
||||||
},
|
|
||||||
new Catcher
|
new Catcher
|
||||||
{
|
{
|
||||||
RelativePositionAxes = Axes.Both,
|
RelativePositionAxes = Axes.Both,
|
||||||
@ -32,7 +27,7 @@ namespace osu.Game.Rulesets.Catch.UI
|
|||||||
Scale = new Vector2(0.2f),
|
Scale = new Vector2(0.2f),
|
||||||
FillMode = FillMode.Fit,
|
FillMode = FillMode.Fit,
|
||||||
Origin = Anchor.TopCentre,
|
Origin = Anchor.TopCentre,
|
||||||
Position = new Vector2(0.5f, 0.9f),
|
Position = new Vector2(0.5f, 1),
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user