Logarithmic zoom #637
aarcangeli
started this conversation in
General
Replies: 1 comment
-
|
Thanks for the kind words. I wasn't aware of logarithmic zoom when building this library to be honest 😅. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, I want to thank the team for this fantastic project.
I found it a bit surprising that the zoom is implemented with a linear progression, as most applications (Photoshop, Paint, Chrome, to name a few) use logarithmic zoom.
In any case, I written an external tweak that makes logarithmic zoom possible, thanks to the rich props of the component.
I hope this can be helpful to someone else.
With this script, the zoom factors progress as follows:
100% -> 110% -> 121% -> 133% -> 146% -> 161% -> 177% -> 195% -> 214% -> ...
Beta Was this translation helpful? Give feedback.
All reactions