Skip to content

Commit

Permalink
Fix value of navigator.overscroll.value.scroll in fxl mode
Browse files Browse the repository at this point in the history
  • Loading branch information
qnga committed Nov 5, 2024
1 parent 885d6e5 commit 2d13070
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 2d13070

Please sign in to comment.