1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-06 15:14:37 +08:00

Merge pull request #31923 from peppy/fix-editor-slider-selection

Fix selected sliders sometimes not being clickable in editor
This commit is contained in:
Dan Balasescu
2025-02-18 14:31:44 +09:00
committed by GitHub
Unverified
@@ -626,7 +626,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos)
{
if (BodyPiece.ReceivePositionalInputAt(screenSpacePos) && DrawableObject.Body.Alpha > 0)
if (BodyPiece.ReceivePositionalInputAt(screenSpacePos) && (IsSelected || DrawableObject.Body.Alpha > 0))
return true;
if (ControlPointVisualiser == null)