Ademking / BetterViewer

a replacement for the image viewing mode built into Firefox and Chrome-based web browsers.
MIT License
247 stars 19 forks source link

Added a 'Zoom Ratio' option to 'Settings' #39

Closed Metacor closed 1 year ago

Metacor commented 1 year ago

Fixes #29

I'm new to coding, so if there is an easy solution to these issues, please let me know:

'settings.js' @ 10: couldn't get .value to retrieve the set input value (user setting saves and updates normally) 'viewer.min.js' @ 1428/1432: changed the hardcoded 0.1 -> internal options.zoomRatio reference

chen only added options.zoomRatio to the scrollWheel for some reason (the buttons were hardcoded) this can likely be changed from app.js instead of modifying the lib directly

Ademking commented 1 year ago

LGTM! 👍 @Metacor Thank you so much for your contribution! ❤️