espresso3389 / pdfrx

pdfrx is yet another PDF viewer implementation that built on the top of pdfium. The plugin currently supports Android, iOS, Windows, macOS, Linux, and Web.
MIT License
60 stars 36 forks source link

Pinch zooming speed gets faster when page width gets smaller than view width #134

Open dhruvhighspot opened 4 weeks ago

dhruvhighspot commented 4 weeks ago

It seems that the animation for zooming in is scaling a lot in landscape mode - causing a small pinch to zoom a lot.

https://github.com/espresso3389/pdfrx/assets/156050023/33cb555f-09e1-4258-8fa9-82b5bc2f66c6

dhruvhighspot commented 1 week ago

@espresso3389 Hey, can you fix this? Zoom is a little bit fast and/or not smooth.

espresso3389 commented 1 week ago

Ah, zoom suddenly gets speed-up when the page width gets smaller than the screen width. It occurrs not only on landscape mode but also on portrait mode The sample's page 3 has the same issue...

espresso3389 commented 1 week ago

I could not determine the mechanism behind the behavior so far.

dhruvhighspot commented 1 week ago

Please prioritize the task and fix it as soon as possible.