Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flow option. Add snap option UI only. #3729

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KaiStarkk
Copy link

Brief summary

This implements additional upstream features from epub.js.

Which issue is fixed?

TBD - currently in draft. I'm aware of several issues related to epubjs features (we previously tagged these as 'ereader' together.

In-depth Description

In particular this:

  • fixes a double paging issue (epubjs already turns the page so these gestures were double-paging)
  • implements the epubjs flow settings as a settable option
  • implements the epubjs snap settings as a settable option (draft - only UI complete. having issues)

I recommend we default snapping to off in the interim, then this draft could be published and we could move settable snapping to its own issue. As-is, this PR fixes a couple issues (one about half-pagination getting stuck, and one about ereaders struggling to render smooth animations), so it'd be to get those merged while still figuring out snapping. If you want to do so I can remove the snap settings UI. This would also need to be merged into the app, I believe it doesn't currently have the settings modal.

How have you tested this?

Tested on Firefox (PC and Android) only with epub files only.
Further testing needed (in particular, other filetypes and clients).

Screenshots

E-Reader settings modal:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant