1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-20 18:43:04 +08:00

scale the correct part of the repeat point

This commit is contained in:
Aergwyn 2017-12-30 09:05:40 +01:00
parent 52dd5ddba6
commit 1f71bd3425

View File

@ -24,17 +24,17 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
this.repeatPoint = repeatPoint;
this.drawableSlider = drawableSlider;
AutoSizeAxes = Axes.Both;
Size = new Vector2(32 * repeatPoint.Scale);
Blending = BlendingMode.Additive;
Origin = Anchor.Centre;
Children = new Drawable[]
{
new SpriteIcon
{
Icon = FontAwesome.fa_eercast,
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Size = new Vector2(32 * repeatPoint.Scale),
RelativeSizeAxes = Axes.Both,
Icon = FontAwesome.fa_eercast
}
};
}