mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 09:03:00 +08:00
Ensure slider is not selectable when body is not visible
This commit is contained in:
parent
e7b80167cd
commit
1648f2efa3
@ -626,7 +626,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
||||
|
||||
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos)
|
||||
{
|
||||
if (BodyPiece.ReceivePositionalInputAt(screenSpacePos))
|
||||
if (BodyPiece.ReceivePositionalInputAt(screenSpacePos) && DrawableObject.Body.Alpha > 0)
|
||||
return true;
|
||||
|
||||
if (ControlPointVisualiser == null)
|
||||
|
Loading…
Reference in New Issue
Block a user