mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 23:36:10 +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:
parent
d54238240a
commit
c68dc11412
@ -76,6 +76,10 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
|||||||
base.OnDragEnd(e);
|
base.OnDragEnd(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override bool OnMouseDown(MouseDownEvent e) => true;
|
||||||
|
|
||||||
|
protected override bool OnClick(ClickEvent e) => true;
|
||||||
|
|
||||||
private void updateState()
|
private void updateState()
|
||||||
{
|
{
|
||||||
Colour = IsHovered || IsDragged ? colours.Red : colours.Yellow;
|
Colour = IsHovered || IsDragged ? colours.Red : colours.Yellow;
|
||||||
|
Loading…
Reference in New Issue
Block a user