mirror of
https://github.com/ppy/osu.git
synced 2025-03-11 01:47:45 +08:00
Fix sliders not being selectable if the body is hidden but the head is still visible
Closes https://github.com/ppy/osu/issues/31998.
Previously: 1648f2efa3
,
https://github.com/ppy/osu/pull/31923.
Oh input handling, how I love ya.
This commit is contained in:
parent
79b737bc27
commit
5b318edbfb
@ -626,7 +626,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
||||
|
||||
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos)
|
||||
{
|
||||
if (BodyPiece.ReceivePositionalInputAt(screenSpacePos) && (IsSelected || DrawableObject.Body.Alpha > 0))
|
||||
if (BodyPiece.ReceivePositionalInputAt(screenSpacePos) && (IsSelected || DrawableObject.Body.Alpha > 0 || DrawableObject.HeadCircle.Alpha > 0))
|
||||
return true;
|
||||
|
||||
if (ControlPointVisualiser == null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user