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

[api-minor] Replace the useOnlyCssZoom option with maxCanvasPixels = 0 instead (PR 16729 follow-up) #16731

Merged
merged 1 commit into from
Jul 29, 2023

Conversation

Snuffleupagus
Copy link
Collaborator

Given that the useOnlyCssZoom option is essentially just a special-case of the maxCanvasPixels functionality, we can combine the two options in order to simplify the overall implementation.
Note that the useOnlyCssZoom functionality was only ever used, by default, in the PDF Viewer for the B2G/FirefoxOS project (which was abandoned years ago).

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/ca735052ac47b05/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/ca735052ac47b05/output.txt

Total script time: 1.43 mins

Published

@Snuffleupagus Snuffleupagus force-pushed the rm-useOnlyCssZoom branch 2 times, most recently from 9877ee8 to d1bcfd5 Compare July 26, 2023 12:01
web/pdf_viewer.js Show resolved Hide resolved
… = 0` instead (PR 16729 follow-up)

Given that the `useOnlyCssZoom` option is essentially just a special-case of the `maxCanvasPixels` functionality, we can combine the two options in order to simplify the overall implementation.
Note that the `useOnlyCssZoom` functionality was only ever used, by default, in the PDF Viewer for the B2G/FirefoxOS project (which was abandoned years ago).
@timvandermeij timvandermeij merged commit 7ae5a0f into mozilla:master Jul 29, 2023
3 checks passed
@timvandermeij
Copy link
Contributor

Looks good!

@Snuffleupagus Snuffleupagus deleted the rm-useOnlyCssZoom branch July 30, 2023 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants