1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 16:52:54 +08:00

Merge pull request #31184 from peppy/slider-drag-tail-click-through

Fix being able to click through slider tail drag handles
This commit is contained in:
Bartłomiej Dach 2024-12-19 13:40:30 +01:00 committed by GitHub
commit bc814405b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,6 +76,10 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
base.OnDragEnd(e);
}
protected override bool OnMouseDown(MouseDownEvent e) => true;
protected override bool OnClick(ClickEvent e) => true;
private void updateState()
{
Colour = IsHovered || IsDragged ? colours.Red : colours.Yellow;