Tidy up escape handling

This commit is contained in:
Dean Herbert
2018-06-27 16:06:26 +09:00
parent 8cf1553fd5
commit 6a80a21078
7 changed files with 37 additions and 58 deletions

View File

@ -34,7 +34,7 @@ namespace osu.Game.Graphics.UserInterface
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
{
if (HandlePendingText(state)) return true;
if (HandlePendingText(state)) return false;
if (!state.Keyboard.ControlPressed && !state.Keyboard.ShiftPressed)
{