Make sliders respond to scale changes

This commit is contained in:
smoogipoo
2018-10-26 15:33:21 +09:00
parent a9f1484e8b
commit 660cd24750
3 changed files with 6 additions and 3 deletions

View File

@ -85,6 +85,11 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
}
HitObject.PositionChanged += _ => Position = HitObject.StackedPosition;
HitObject.ScaleChanged += _ =>
{
Body.PathWidth = HitObject.Scale * 64;
Ball.Scale = new Vector2(HitObject.Scale);
};
}
public override Color4 AccentColour