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

Fix slider ticks not showing up again once replayed

Fixes #1456
This commit is contained in:
smoogipoo 2017-11-03 15:33:24 +09:00
parent 06a62edeb6
commit 60048e6cd1

View File

@ -28,6 +28,10 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
Size = new Vector2(16) * sliderTick.Scale;
// The containing DrawableSlider is updated before us and clears our transforms, so we need to be
// present to get updated and have UpdateState correctly called when rewinding.
AlwaysPresent = true;
Masking = true;
CornerRadius = Size.X / 2;