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

Fix auto zoom on window resize #362

Closed
wants to merge 2 commits into from
Closed

Conversation

ulteq
Copy link
Contributor

@ulteq ulteq commented Dec 29, 2017

This simplifies the logic behind the automatic zoom ratio calculation, which is used by both --auto-zoom and --scale-down.

When merged this will:

  • Fix the w command when both --scale-down and --keep-zoom-vp are enabled
  • Fix --auto-zoom not being triggered on window resize events when --scale-down is enabled
  • Fix --auto-zoom not being applied to the first image
  • Fix --auto-zoom conflicting with manual zoom

Should be merged after: #358 / #359 and #361

Fixes: #229
Fixes: #244

Found a better solution -> #364

@ulteq ulteq force-pushed the fix-auto-zoom branch 4 times, most recently from b14c842 to 3c2ee3c Compare December 29, 2017 15:23
Simplifies the logic behind the automatic zoom ratio calculation, which is used by both `--auto-zoom` and `--scale-down`.
@ulteq ulteq mentioned this pull request Dec 29, 2017
@ulteq ulteq closed this Dec 29, 2017
@ulteq ulteq deleted the fix-auto-zoom branch August 17, 2018 08:26
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

Successfully merging this pull request may close these issues.

1 participant