1
0
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:
Jamie Taylor
2022-09-07 13:17:04 +09:00
Unverified
parent 13efa819ae
commit cb1d886c9c
2 changed files with 20 additions and 19 deletions
@@ -88,6 +88,7 @@ namespace osu.Game.Graphics.UserInterface
if (Text.Length > 0)
{
Text = string.Empty;
PlayFeedbackSample(FeedbackSampleType.TextRemove);
return true;
}
}