1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 21:27:24 +08:00
osu-lazer/osu.Game.Rulesets.Osu
Bartłomiej Dach 77fd748035 Fix incorrect circle piece hitbox
Hitboxes of circle pieces in osu! have regressed with commit 8592335.
The reason for the regression was that hit detection was moved from
DrawableHitCircle itself to a newly-introduced private HitArea class
(now named HitReceptor).

As HitArea inherited from Drawable, it would return IsHovered == true
over its entire bounding box. This meant that the hit area could wrongly
pick up actions that are not within circle radius and make them into
hits.

To resolve, make HitReceptor a CompositeDrawable and set its corner
radius to match the circle piece. This fixes the invalid hitbox, as
IsHovered takes radius into account.
2020-03-06 21:21:20 +01:00
..
Beatmaps Merge branch 'master' into remove-legacy-id 2019-12-25 21:01:12 +09:00
Configuration Remove settings related to reverse arrow 2020-01-07 04:55:05 +01:00
Difficulty Remove meaningless Convert calls. 2019-12-03 20:47:00 +08:00
Edit Merge branch 'master' into fix-editor-time-change-display 2020-02-13 23:55:52 +09:00
Judgements Fix hitobjects with unknown lifetimes by enforcing non-null judgement 2020-02-23 13:49:06 +09:00
Mods Don't transform repeat points 2020-02-16 15:35:12 +09:00
Objects Fix incorrect circle piece hitbox 2020-03-06 21:21:20 +01:00
Properties Merge remote-tracking branch 'upstream/master' into android 2019-01-29 18:13:43 -06:00
Replays Update MathUtils namespace usages 2020-01-09 13:43:44 +09:00
Resources/Testing/Beatmaps Update stacking test case values 2019-10-23 15:49:36 +09:00
Scoring Implement break/gameplay start times 2019-12-26 15:00:58 +09:00
Skinning Add support for reading skin frame rate from configuration file 2020-02-07 14:58:29 +09:00
UI Remove shallPropagate 2020-02-25 11:30:33 +09:00
osu.Game.Rulesets.Osu.csproj Update .Net Standard projects to 2.1 2019-11-18 18:35:58 +08:00
OsuInputManager.cs Add xmldoc 2019-08-12 15:00:32 +09:00
OsuRuleset.cs add playingverb and database migrations 2020-01-03 11:39:15 +00:00
OsuSkinComponent.cs Update naming 2019-08-30 15:13:29 +09:00
OsuSkinComponents.cs Add legacy slider body support 2019-12-17 18:16:25 +09:00