mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
FocusedTextBox should not handle repeated escapes
This commit is contained in:
@ -38,7 +38,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||
{
|
||||
if (args.Key == Key.Escape)
|
||||
if (!args.Repeat && args.Key == Key.Escape)
|
||||
{
|
||||
if (Text.Length > 0)
|
||||
Text = string.Empty;
|
||||
|
Reference in New Issue
Block a user