Add audio feedback for Esc/Back clearing text from a FocusedTextBox

This commit is contained in:
Jamie Taylor
2022-09-07 13:17:04 +09:00
parent 13efa819ae
commit cb1d886c9c
2 changed files with 20 additions and 19 deletions

View File

@ -88,6 +88,7 @@ namespace osu.Game.Graphics.UserInterface
if (Text.Length > 0)
{
Text = string.Empty;
PlayFeedbackSample(FeedbackSampleType.TextRemove);
return true;
}
}