Skip to content

Commit

Permalink
Merge branch 'main' of github.com:readium/kotlin-toolkit into fix/lcp…
Browse files Browse the repository at this point in the history
…-decryption
  • Loading branch information
mickael-menu committed Nov 25, 2024
2 parents cbc5bec + 60013b8 commit 99abc6a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@ internal class EpubNavigatorViewModel(
.mapStateIn(viewModelScope) { settings ->
SimpleOverflow(
readingProgression = settings.readingProgression,
scroll = settings.scroll,
scroll = if (layout == EpubLayout.REFLOWABLE) {
settings.scroll
} else {
false
},
axis = if (settings.scroll && !settings.verticalText) {
Axis.VERTICAL
} else {
Expand Down

0 comments on commit 99abc6a

Please sign in to comment.