mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 16:50:21 +08:00
Tidy up escape handling
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user