1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 11:13:02 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Objects/Drawables
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
..
Connections Add explanatory comments + const 2021-02-10 22:06:19 +09:00
DrawableHitCircle.cs Add flags to return to classic slider scoring 2021-02-03 22:12:20 +09:00
DrawableOsuHitObject.cs Remove unused using statement 2020-11-27 17:01:07 +09:00
DrawableOsuJudgement.cs Make sliders display judgements when not ignored 2021-02-03 22:42:50 +09:00
DrawableSlider.cs Fix inverted calculation 2021-02-10 22:09:24 +09:00
DrawableSliderHead.cs Adjust comment for DrawableSliderHead 2021-02-10 19:04:23 +09:00
DrawableSliderRepeat.cs Adjust namespace 2020-12-04 20:21:53 +09:00
DrawableSliderTail.cs Merge branch 'dho-remove-onparentreceived' into fix-hidden-mod-crash 2020-12-03 20:10:16 +09:00
DrawableSliderTick.cs Remove OnParentReceived() 2020-12-03 20:08:42 +09:00
DrawableSpinner.cs Fix spinners playing looping sound too long in the editor 2021-03-22 16:04:51 +09:00
DrawableSpinnerBonusTick.cs Add nested osu! hitobject pooling 2020-11-12 15:59:48 +09:00
DrawableSpinnerTick.cs Remove OnParentReceived() 2020-12-03 20:08:42 +09:00
IRequireTracking.cs Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
ITrackSnaking.cs Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
SkinnableLighting.cs Remove AccentColour binding from judgement lighting 2020-11-05 14:49:15 +09:00