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
1 changed files with 5 additions and 5 deletions

View File

@ -24,17 +24,17 @@ public DrawableRepeatPoint(RepeatPoint repeatPoint, DrawableSlider drawableSlide
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
}
};
}