Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Celeste.Mod.mm/Mod/UI/OuiMapSearch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,12 @@ public void OnTextInput(char c) {
} else if (c == (char) 8) {
// Backspace - trim.
if (search.Length > 0) {
search = search.Substring(0, search.Length - 1);
if (MInput.Keyboard.CurrentState.IsKeyDown(Keys.LeftControl)
|| MInput.Keyboard.CurrentState.IsKeyDown(Keys.RightControl)) {
search = "";
Comment thread
DashingCat marked this conversation as resolved.
Outdated
} else {
search = search.Substring(0, search.Length - 1);
}
Audio.Play(SFX.ui_main_rename_entry_backspace);
goto ValidButton;
} else {
Expand Down
Loading