mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 02:42:54 +08:00
Merge pull request #1795 from Aergwyn/scaling-repeat-points
Fix repeat points not scaling properly
This commit is contained in:
commit
06b9267112
@ -24,19 +24,17 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
this.repeatPoint = repeatPoint;
|
this.repeatPoint = repeatPoint;
|
||||||
this.drawableSlider = drawableSlider;
|
this.drawableSlider = drawableSlider;
|
||||||
|
|
||||||
AutoSizeAxes = Axes.Both;
|
Size = new Vector2(32 * repeatPoint.Scale);
|
||||||
|
|
||||||
Blending = BlendingMode.Additive;
|
Blending = BlendingMode.Additive;
|
||||||
Origin = Anchor.Centre;
|
Origin = Anchor.Centre;
|
||||||
Scale = new Vector2(0.5f);
|
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new SpriteIcon
|
new SpriteIcon
|
||||||
{
|
{
|
||||||
Icon = FontAwesome.fa_eercast,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Anchor = Anchor.Centre,
|
Icon = FontAwesome.fa_eercast
|
||||||
Origin = Anchor.Centre,
|
|
||||||
Size = new Vector2(32),
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user