mirror of
https://github.com/osukey/osukey.git
synced 2025-05-08 23:27:38 +09:00
Fix scale more.
This commit is contained in:
parent
e939746159
commit
92b85b251e
@ -86,6 +86,7 @@ namespace osu.Game.Beatmaps.Objects.Osu.Drawable
|
|||||||
//sane defaults
|
//sane defaults
|
||||||
ring.Alpha = circle.Alpha = number.Alpha = approachCircle.Alpha = glow.Alpha = 1;
|
ring.Alpha = circle.Alpha = number.Alpha = approachCircle.Alpha = glow.Alpha = 1;
|
||||||
explode.Alpha = 0;
|
explode.Alpha = 0;
|
||||||
|
Scale = Vector2.One;
|
||||||
|
|
||||||
//always-present transforms
|
//always-present transforms
|
||||||
Transforms.Add(new TransformAlpha { StartTime = t - 1000, EndTime = t - 800, StartValue = 0, EndValue = 1 });
|
Transforms.Add(new TransformAlpha { StartTime = t - 1000, EndTime = t - 800, StartValue = 0, EndValue = 1 });
|
||||||
|
@ -32,7 +32,7 @@ namespace osu.Game.GameModes.Play.Osu
|
|||||||
Anchor = Anchor.Centre;
|
Anchor = Anchor.Centre;
|
||||||
Origin = Anchor.Centre;
|
Origin = Anchor.Centre;
|
||||||
RelativeSizeAxes = Axes.Both;
|
RelativeSizeAxes = Axes.Both;
|
||||||
Size = new Vector2(0.86f);
|
Size = new Vector2(0.75f);
|
||||||
|
|
||||||
AddInternal(new Box
|
AddInternal(new Box
|
||||||
{
|
{
|
||||||
@ -43,13 +43,17 @@ namespace osu.Game.GameModes.Play.Osu
|
|||||||
Alpha = 0.5f,
|
Alpha = 0.5f,
|
||||||
});
|
});
|
||||||
|
|
||||||
AddInternal(hitObjectContainer = new Container
|
AddInternal(hitObjectContainer = new HitObjectContainer
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Scale = new Vector2(0.4f),
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class HitObjectContainer : Container
|
||||||
|
{
|
||||||
|
protected override Vector2 ChildScale => new Vector2(0.625f);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user