1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 15:33:05 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Objects
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
..
Drawables Fix incorrect circle piece hitbox 2020-03-06 21:21:20 +01: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 Use Bindable{Float,Double}s everywhere 2020-02-01 22:50:29 +01:00
RepeatPoint.cs Use empty hitwindows instead of null 2019-10-09 19:08:31 +09:00
Slider.cs Update with framework-side bindable list changes 2020-02-17 15:06:14 +09:00
SliderCircle.cs Update licence header (and remove year) 2019-01-24 17:43:03 +09:00
SliderTailCircle.cs Fix hitobjects with unknown lifetimes by enforcing non-null judgement 2020-02-23 13:49:06 +09:00
SliderTick.cs Use empty hitwindows instead of null 2019-10-09 19:08:31 +09:00
Spinner.cs Make sMake spinner's EndTime correct on construction 2020-02-07 19:08:37 +09:00