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:
commit
bc814405b5
@ -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