1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-28 19:20:25 +08:00

Fix being able to click through slider tail drag handles

Closes https://github.com/ppy/osu/issues/31176.
This commit is contained in:
Dean Herbert
2024-12-19 00:01:36 +09:00
Unverified
parent d54238240a
commit c68dc11412
@@ -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;