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(doc zoom): Move zoom control update to pagerender handler #1097

Merged
merged 1 commit into from
Nov 11, 2019

Conversation

ConradJChan
Copy link
Contributor

When PDFjs updates the page scaling, it emits the pagerendered event, so this PR moves the logic to update the zoom control with the current scale value based off of that event. This covers the issue where toggling fullscreen wouldn't update the current scale value in the zoom control.

@ConradJChan ConradJChan requested a review from a team as a code owner November 8, 2019 21:32
@boxcla
Copy link

boxcla commented Nov 8, 2019

Verified that @ConradJChan has signed the CLA. Thanks for the pull request!

@ConradJChan ConradJChan merged commit 085131e into box:master Nov 11, 2019
@ConradJChan ConradJChan deleted the zoom-fullscreen branch November 11, 2019 18:30
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.

4 participants