1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

Fix some incorrect default values.

This commit is contained in:
Dean Herbert 2016-11-02 14:03:03 +09:00
parent a4e2f25065
commit f5f5aa9eac

View File

@ -30,9 +30,7 @@ namespace osu.Game.Beatmaps.Objects.Osu.Drawable
this.h = h;
Origin = Anchor.Centre;
Alpha = 0;
Position = h.Position;
Scale = new Vector2(0.4f);
Children = new Framework.Graphics.Drawable[]
{
@ -50,7 +48,7 @@ namespace osu.Game.Beatmaps.Objects.Osu.Drawable
flash = new FlashLayer(),
explode = new ExplodeLayer
{
Colour = h.Colour
Colour = h.Colour,
},
approachCircle = new Sprite
{
@ -88,6 +86,7 @@ namespace osu.Game.Beatmaps.Objects.Osu.Drawable
//sane defaults
ring.Alpha = circle.Alpha = number.Alpha = approachCircle.Alpha = glow.Alpha = 1;
explode.Alpha = 0;
//always-present transforms
Transforms.Add(new TransformAlpha { StartTime = t - 1000, EndTime = t - 800, StartValue = 0, EndValue = 1 });