Fixed a bug where app bars wouldn't show up when tapping the screen if Musician Mode was enabled but Auto-scroll was off. (#42)

This commit is contained in:
Aryan 2026-03-07 23:28:15 +05:30 committed by GitHub
parent e78950e672
commit 68c4611187
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 5 deletions

View file

@ -1896,7 +1896,7 @@ fun EpubReaderHost(
Timber.d("Auto-scroll toggled via tap: $isAutoScrollPlaying")
}
if (!isMusicianMode && System.currentTimeMillis() - lastHighlightClickTime > 500) {
if (!(isMusicianMode && isAutoScrollModeActive) && System.currentTimeMillis() - lastHighlightClickTime > 500) {
focusManager.clearFocus()
if (volumeScrollEnabled && !searchState.isSearchActive) {
containerFocusRequester.requestFocus()