Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
在记忆单词界面,抄写完一条字幕不再自动切换到下一条字幕。
Browse files Browse the repository at this point in the history
  • Loading branch information
tangshimin committed Jul 22, 2022
1 parent 0f63c5b commit ef427ae
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/main/kotlin/components/TypingWord.kt
Original file line number Diff line number Diff line change
Expand Up @@ -770,21 +770,6 @@ fun TypingWord(
typingResult.add(Pair(inputChar, false))
}
}
if (input.length == captionContent.length) {
when(index){
0 -> {
if(currentWord.captions.size>1){
focusRequester2.requestFocus()
}
}
1 -> {
if(currentWord.captions.size == 3){
focusRequester3.requestFocus()
}
}
}
}

}

}
Expand Down

0 comments on commit ef427ae

Please sign in to comment.