From 355bbb6324b569a5cbbd8882baa99b06dc17c383 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 23 Feb 2017 20:01:44 +0900 Subject: [PATCH] SearchTextBox should not handle shift-delete. --- osu.Game/Screens/Select/SearchTextBox.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/osu.Game/Screens/Select/SearchTextBox.cs b/osu.Game/Screens/Select/SearchTextBox.cs index a640b575be..bb1edfd0d7 100644 --- a/osu.Game/Screens/Select/SearchTextBox.cs +++ b/osu.Game/Screens/Select/SearchTextBox.cs @@ -49,6 +49,15 @@ namespace osu.Game.Screens.Select } } + if (state.Keyboard.ShiftPressed) + { + switch (args.Key) + { + case Key.Delete: + return false; + } + } + return base.OnKeyDown(state, args); } }