Fix catch drawable objects not being clamped to playfield bounds #26158
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Addresses first issue mentioned in #26145
Can be tested using supplied test scene, and on https://osu.ppy.sh/beatmapsets/1062804#fruits/2234731 - see juice stream @ 01:58:172:
Notably, only fruits and droplets are affected. Small droplets aren't affected, because of
osu/osu.Game.Rulesets.Catch/Beatmaps/CatchBeatmapProcessor.cs
Line 104 in e9f350e
(the offset clamp ensures that
OriginalXBindable.Value + XOffsetBindable.Value
is always inside [0, 512]), and bananas aren't affected asosu/osu.Game.Rulesets.Catch/Beatmaps/CatchBeatmapProcessor.cs
Line 83 in e9f350e