1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 03:49:56 +08:00

Fix textbox shift-left/right conflicting with new group changing bindings

This commit is contained in:
Dean Herbert
2025-06-11 19:49:33 +09:00
Unverified
parent 3816c5d95f
commit f82cb6d767
@@ -279,6 +279,10 @@ namespace osu.Game.Screens.SelectV2
public override bool OnPressed(KeyBindingPressEvent<PlatformAction> e)
{
// Conflicts with default group navigation keys (shift-left shift-right).
if (e.Action == PlatformAction.SelectBackwardChar || e.Action == PlatformAction.SelectForwardChar)
return false;
// the "cut" platform key binding (shift-delete) conflicts with the beatmap deletion action.
if (e.Action == PlatformAction.Cut && e.ShiftPressed && e.CurrentState.Keyboard.Keys.IsPressed(Key.Delete))
return false;