pdf-flipbook icon indicating copy to clipboard operation
pdf-flipbook copied to clipboard

transition-duration

Open turbocloud opened this issue 4 years ago • 1 comments

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

turbocloud avatar Jan 15 '21 02:01 turbocloud

Dear

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

xMr110 avatar Feb 20 '21 10:02 xMr110