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

transition-duration #12

Open
turbocloud opened this issue Jan 15, 2021 · 1 comment
Open

transition-duration #12

turbocloud opened this issue Jan 15, 2021 · 1 comment

Comments

@turbocloud
Copy link

First Thank You for such a nice flip-book to be able to selfhost. I am happy & pleased with it.

One little issue I like to resolve and got this partially working, but it is still not satisfactory.
The original transition-duration is 200ms (if I am correct here) and I find this very fast.
Looking through the files, I found so far 2 files which have the settings, one is /pdfjs/viewer.js between line 341 - 386 and /turnjs/zoom.min.js line 18
I change the 200ms to 2s but it is not correctly picked up, means, flipping through the book in one direction the NEW duration is not picked up, flipping backwards right after, the new duration is picked up somewhat. With somewhat I mean, it is still not the full 2s (which is too slow, but I had to jump it up that much to see some reduction in speed).

Am I missing some entries somewhere ?
Any hints are very welcome.

Thank you

@xMr110
Copy link

xMr110 commented Feb 20, 2021

Dear

just change transaction duration from pdf-flip.js line 86 and always use ms not seconds

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

No branches or pull requests

2 participants