mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 03:23:03 +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();
|
||||
|
||||
// animation
|
||||
this.FadeIn(200).MoveToY(0.9f, preempt);
|
||||
this.FadeIn(200).MoveToY(1, preempt);
|
||||
}
|
||||
|
||||
Expire(true);
|
||||
|
@ -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 @@ namespace osu.Game.Rulesets.Catch.UI
|
||||
{
|
||||
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 @@ namespace osu.Game.Rulesets.Catch.UI
|
||||
Scale = new Vector2(0.2f),
|
||||
FillMode = FillMode.Fit,
|
||||
Origin = Anchor.TopCentre,
|
||||
Position = new Vector2(0.5f, 0.9f),
|
||||
Position = new Vector2(0.5f, 1),
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user