1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 10:57:27 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Objects/Drawables
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
..
Connections Use stacked positions 2020-03-04 09:46:53 +09:00
Pieces Add fill to default skin slider ball when tracking 2020-02-21 17:38:23 +09:00
DrawableHitCircle.cs Fix incorrect circle piece hitbox 2020-03-06 21:21:20 +01:00
DrawableOsuHitObject.cs Use ??=. 2019-11-12 19:56:51 +08:00
DrawableOsuJudgement.cs Add initial implementation of hit lighting 2019-09-18 02:49:54 +09:00
DrawableRepeatPoint.cs Use Bindable{Float,Double}s everywhere 2020-02-01 22:50:29 +01:00
DrawableSlider.cs Use Bindable{Float,Double}s everywhere 2020-02-01 22:50:29 +01:00
DrawableSliderHead.cs Remove unused usings 2019-12-09 13:19:21 +09:00
DrawableSliderTail.cs Remove unused usings 2019-12-09 13:19:21 +09:00
DrawableSliderTick.cs Use Bindable{Float,Double}s everywhere 2020-02-01 22:50:29 +01:00
DrawableSpinner.cs Make SpmCounter public 2019-12-18 03:04:37 +03: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