学习模式确认后保持键盘不消失

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-07-20 22:01:40 +08:00
parent 797b841f07
commit 794608d69c
2 changed files with 10 additions and 1 deletions
@@ -122,6 +122,11 @@ final class SpellingInputView: UIView, UITextFieldDelegate {
refreshBoxes()
}
func freezeInput() {
inputEnabled = false
refreshBoxes()
}
func showResultState(correct: Bool) {
let color = correct ? Theme.Color.correct : Theme.Color.wrong
for position in blankPositions {