Skip to content

Conversation

@cs-mt
Copy link

@cs-mt cs-mt commented Mar 5, 2023

Hi. I made changes so that the zoom-ins and zoom-outs made using the mouse scroll would have fixed percentages between 3% and 500%. It defaults to the previous exponent calculation outside of these levels. These levels are fixed in the code, but this can be made into a setting so that users can have their own fixed sizes.

@sylikc sylikc added enhancement New feature or request config opts Related to configuration options, config files, or keymap files labels Mar 5, 2023
@sylikc
Copy link
Owner

sylikc commented Mar 5, 2023

Interesting... looks even better now that it's configurable. Give me a few days to run it through the debugger and get this tested. After having messed with zoom so much for the last release I want to see if there's any bugs in the actual zoom portion of the code.

How does it handle it now when the zoom step exceeds the maximum allowed for that image, and it "snaps back" to the % that's currently allowed? Does it try again to zoom to that at the next try?

@cs-mt
Copy link
Author

cs-mt commented Mar 5, 2023

Interesting... looks even better now that it's configurable. Give me a few days to run it through the debugger and get this tested. After having messed with zoom so much for the last release I want to see if there's any bugs in the actual zoom portion of the code.

How does it handle it now when the zoom step exceeds the maximum allowed for that image, and it "snaps back" to the % that's currently allowed? Does it try again to zoom to that at the next try?

If the zoom step is outside of the defined range, it defaults to the exponent calculation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config opts Related to configuration options, config files, or keymap files enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants