-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Auto zoom landscape documents (like slide presentations) to fit their height #5229
Auto zoom landscape documents (like slide presentations) to fit their height #5229
Conversation
/botio-windows preview |
From: Bot.io (Windows)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://107.22.172.223:8877/db7c04723fd266e/output.txt |
From: Bot.io (Windows)SuccessFull output at http://107.22.172.223:8877/db7c04723fd266e/output.txt Total script time: 0.89 mins Published
|
Personally, I don't think this change is good for most documents. Could we perhaps use different behaviours for "Auto zoom" depending on the page orientation, or would that be too confusing? Edit: Since this patch is basically about setting "Page fit" as the default zoom level for most documents, we could perhaps instead add a keyboard shortcut for "Page fit". This was recently requested in #5206. |
@Snuffleupagus: oops! I did not intend to change the portrait mode, so I will fix that. My initial fix tested for landscape documents (with |
7297506
to
81d5bd8
Compare
@Snuffleupagus: I fixed this PR so the portrait mode is unaffected and landscape mode scale to fix the height of the page. |
/botio-linux preview |
From: Bot.io (Linux)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://107.21.233.14:8877/9a0840675191590/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/9a0840675191590/output.txt Total script time: 0.77 mins Published
|
This looks much better to me! /botio-linux lint |
From: Bot.io (Linux)ReceivedCommand cmd_lint from @Snuffleupagus received. Current queue size: 0 Live output at: http://107.21.233.14:8877/8b496a65e94919f/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/8b496a65e94919f/output.txt Total script time: 1.84 mins
|
I think the Travis build errors are unrelated to my code changes. Travis is complaining that it can't clone the git repo |
You're right, it's Travis' fault. Our own lint check succeeded. |
Auto zoom landscape documents (like slide presentations) to fit their height
Thank you for the patch |
Landscape documents, like slide presentations, are much easier to read if "Automatic Zoom" fits the slide height so the full slide is visible. Here is an example landscape slide presentation:
https://wiki.mozilla.org/images/5/55/MobileOpportunity.pdf