Skip to content

Commit

Permalink
feat(draims): fully functional clear key for editing frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
Misaka-L committed Nov 23, 2024
1 parent afa222c commit 206a982
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ public void _Input(DRAIMSKeyType keyType) {
charToInput = '9';
break;
case DRAIMSKeyType.Clear:
_editingTextString = "";
if (_editingTextString.Length != 0) {
_editingTextString = _editingTextString.Remove(_editingTextString.Length - 1);
}

UpdateEditing();
return;
}
Expand Down

0 comments on commit 206a982

Please sign in to comment.