1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-12 21:02:59 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Objects
Dean Herbert c4d08463ad Fix spinners playing looping sound too long in the editor
The `OnComplete` event was never being run due to the transform playing
out longer than the spinner's lifetime. I've matched the durations, but
also moved the `Stop()` call to what I deem a safer place to run it (I
did notice that without this it would still potentially never fire).

Note that this is more noticeable in the editor because of lifetime
extension. In gameplay, the returning of a spinner to the pool will
clean things up (but in the editor that can take longer, depending on
timeline zoom level).

Another thing worth mentioning is that the fade doesn't actually work.
This is due to https://github.com/ppy/osu-framework/pull/4212.

Closes #12119.
2021-03-22 16:04:51 +09:00
..
Drawables Fix spinners playing looping sound too long in the editor 2021-03-22 16:04:51 +09:00
HitCircle.cs Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
ISliderProgress.cs Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
OsuHitObject.cs Add explanatory comments + const 2021-02-10 22:06:19 +09:00
Slider.cs Merge pull request #11740 from peppy/editor-fix-slider-samples-new-placement 2021-02-12 13:31:00 +09:00
SliderEndCircle.cs Add preempt adjustment and fade in first end circle with slider to match stable 2020-10-02 15:21:52 +09:00
SliderHeadCircle.cs Judge heads as slider ticks instead 2021-02-10 18:38:31 +09:00
SliderRepeat.cs Add preempt adjustment and fade in first end circle with slider to match stable 2020-10-02 15:21:52 +09:00
SliderTailCircle.cs Merge branch 'master' into skin-slider-end-circle-support 2020-10-05 17:45:51 +09:00
SliderTick.cs Judge heads as slider ticks instead 2021-02-10 18:38:31 +09:00
Spinner.cs Make Spinner use cancellation token 2020-09-17 17:05:24 +09:00
SpinnerBonusTick.cs Make HitSampleInfo immutable 2020-12-01 15:37:51 +09:00
SpinnerTick.cs Use new hit results in osu 2020-09-29 16:33:38 +09:00