Skip to content

Commit

Permalink
Fix slider end drag marker blocking open of control point piece conte…
Browse files Browse the repository at this point in the history
…xt menus

Closes #31323.
  • Loading branch information
bdach committed Dec 30, 2024
1 parent a4c6f22 commit 4d326ec
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using osu.Game.Graphics;
using osu.Game.Rulesets.Osu.Objects;
using osuTK;
using osuTK.Input;

namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
{
Expand Down Expand Up @@ -76,9 +77,9 @@ protected override void OnDragEnd(DragEndEvent e)
base.OnDragEnd(e);
}

protected override bool OnMouseDown(MouseDownEvent e) => true;
protected override bool OnMouseDown(MouseDownEvent e) => e.Button == MouseButton.Left;

protected override bool OnClick(ClickEvent e) => true;
protected override bool OnClick(ClickEvent e) => e.Button == MouseButton.Left;

private void updateState()
{
Expand Down

0 comments on commit 4d326ec

Please sign in to comment.