1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 12:42:54 +08:00

Fix keybind clear button always clearing first keybind regardless of target

This commit is contained in:
Joehu 2020-07-20 20:13:09 -07:00
parent 7087020f21
commit a8991bb8bf

View File

@ -187,7 +187,7 @@ namespace osu.Game.Overlays.KeyBinding
if (bindTarget.IsHovered)
finalise();
else
else if (buttons.Any(b => b.IsHovered))
updateBindTarget();
}