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

View File

@ -28,6 +28,10 @@ public DrawableSliderTick(SliderTick sliderTick) : base(sliderTick)
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;