Keep manual reader position while TTS is paused
Build & Test / Build & Test App (push) Has been cancelled
Update website / update_website (release) Has been cancelled
Release / Extract tag name (push) Has been cancelled
Release / Build (push) Has been cancelled
Release / Build (FOSS) (push) Has been cancelled
Release / Create GitHub Release (push) Has been cancelled

This commit is contained in:
BookOasis Reader
2026-09-27 09:00:49 +09:00
parent c9c119689d
commit aec03c6c71
@@ -845,10 +845,13 @@ class ReaderActivity : BaseActivity() {
}
ttsHighlightedPage = targetPage
if (state.currentPage != targetPage.index + 1) {
val targetPageIsVisible = state.currentPage == targetPage.index + 1
if (ttsState.playing && !targetPageIsVisible) {
moveToPageIndex(targetPage.index)
}
state.viewer?.refreshCurrentPage()
if (ttsState.playing || targetPageIsVisible) {
state.viewer?.refreshCurrentPage()
}
}
/**