mirror of
https://github.com/ppy/osu.git
synced 2026-05-27 13:30:27 +08:00
Add audio feedback for Esc/Back clearing text from a FocusedTextBox
This commit is contained in:
@@ -88,6 +88,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
if (Text.Length > 0)
|
||||
{
|
||||
Text = string.Empty;
|
||||
PlayFeedbackSample(FeedbackSampleType.TextRemove);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user