Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what of zoom-rate #732

Open
stephenboston opened this issue Nov 29, 2023 · 3 comments
Open

what of zoom-rate #732

stephenboston opened this issue Nov 29, 2023 · 3 comments

Comments

@stephenboston
Copy link

I am looking for more precision in the ratio of change in a zoom step.

After this issue #677 I expected to use --zoom-rate=<some integer>

But my try gets this

 feh: unrecognized option '--zoom-rate=512'
  • feh version 3.10-2-g0102fdc-dirty
  • 6.6.2-arch1-1
@myQwil
Copy link

myQwil commented Nov 30, 2023

--zoom-step is the number of button or key presses between powers of 2
--zoom-rate represents the number of pixels between powers of 2 that the user clicks and drags between while in zoom mode.

Have you tried using --zoom-step?

Also, that change hasn't been approved yet. To test it, you'll need to build feh from scratch using that pull request's branch.

@stephenboston
Copy link
Author

Ah yes. That's better. A step of 1 must be the smallest? and will have to be good enough. Thank you.

But out of interest: what happened to zoom-rate? Why am I not seeing it?

@myQwil
Copy link

myQwil commented Nov 30, 2023

No, a step of 1 is the largest. That would mean that every zoom step increases or decreases the zoom to the next or previous power of 2.

Actually no, 1 is not the largest, because you can specify fractions. The smaller the number, the bigger the jumps between zoom levels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants