mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 17:17:46 +08:00
Fix unbinding not working correctly
This commit is contained in:
parent
a6e5c6a62a
commit
666d5744cd
@ -313,6 +313,14 @@ namespace osu.Game.Overlays.KeyBinding
|
|||||||
Size = new Vector2(80, 20);
|
Size = new Vector2(80, 20);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override bool OnMouseUp(MouseUpEvent e)
|
||||||
|
{
|
||||||
|
base.OnMouseUp(e);
|
||||||
|
|
||||||
|
// without this, the mouse up triggers a finalise (and deselection) of the current binding target.
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuColour colours)
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user