mirror of
https://github.com/ppy/osu
synced 2025-02-07 22:01:59 +00:00
Fix being able to click through slider tail drag handles
Closes https://github.com/ppy/osu/issues/31176.
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user