Mantano / iridium

Unofficial Dart/Flutter port of some of the Readium 2 components
80 stars 27 forks source link

ReaderToolbar buttons are skipping chapters instead of pages #109

Open carman247 opened 9 months ago

carman247 commented 9 months ago

When I use the buttons either side of the Slider instead of skipping to the next/previous page it's skipping to the next chapter, or the last page of the previous chapter.

Is there anyway to change this so it always skips to the next/prev page?

I kind of see what's going on, the PageView skips between the spine items, and the WebView skips between the dynamic fractions in those spine items, based on what fits on screen etc.

Looks like quite a big modification but if you could shed any light on how to make the buttons do what a swipe in the WebView does that would be amazing.