1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:07:52 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Objects
Bartłomiej Dach bbdd85020c
Fix slider tails sometimes not dimming correctly
Originally noticed during review of another change:
https://github.com/ppy/osu/pull/27369#issuecomment-1966140198.

`DrawableOsuHitObject` tries to solve the initial dimming of objects
by applying transform to a list of dimmable parts. For plain drawables
this is safe, but if one of the parts is a DHO, it is not safe,
because drawable transforms can be cleared at will.

In particular, on first use of a drawable slider,
`UpdateInitialTransforms()` would fire via `LoadComplete()` on the
`DrawableSlider`, but *then*, also via `LoadComplete()`,
the `DrawableSliderTail` would update its own state and by doing so
inadvertently clear the dim transform just added by the slider.

To fix, ensure dim transforms are applied to DHOs
via `ApplyCustomUpdateState`.
2024-02-27 11:45:03 +01:00
..
Drawables Fix slider tails sometimes not dimming correctly 2024-02-27 11:45:03 +01:00
HitCircle.cs Automated pass 2023-06-24 01:00:03 +09:00
ISliderProgress.cs Remove redundant nullable suppression directives 2023-06-07 08:20:41 +03:00
OsuHitObject.cs Reduce allocations during beatmap selection 2024-02-17 15:46:38 +03:00
Slider.cs Fix failing tests related to slider ticks 2024-02-17 23:28:35 +03:00
SliderEndCircle.cs lazy load slider tail position 2024-01-13 01:32:37 +01:00
SliderHeadCircle.cs Update xmldoc to match flipped flag semantics 2023-11-02 18:58:14 +01:00
SliderRepeat.cs Fix non-classic osu! combo not matching expectations 2023-11-02 19:27:55 +09:00
SliderTailCircle.cs Adjust default min result of SliderTailHit, remove override 2024-01-31 18:01:29 +09:00
SliderTick.cs Automated pass 2023-06-24 01:00:03 +09:00
Spinner.cs Fix spinner requirements being susceptible to FP precision 2023-10-04 13:53:33 +09:00
SpinnerBonusTick.cs Automated pass 2023-06-24 01:00:03 +09:00
SpinnerTick.cs Automated pass 2023-06-24 01:00:03 +09:00