1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 12:47:25 +08:00

Fix SearchTextBox's handling of keyboard input to allow for IME input.

This commit is contained in:
Dean Herbert 2017-02-09 12:33:24 +09:00
parent 4fc2cd227c
commit faa805e437
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
2 changed files with 3 additions and 1 deletions

@ -1 +1 @@
Subproject commit a2b6ea81a6dcfbb28ed7d85c7f54d33d48a00fa7
Subproject commit 763a13f90e018f4ba9401566b381b3338a969512

View File

@ -74,6 +74,8 @@ namespace osu.Game.Screens.Select
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
{
if (HandlePendingText(state)) return true;
if (!state.Keyboard.ControlPressed && !state.Keyboard.ShiftPressed)
{
switch (args.Key)