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 Zoom box resizing when it's hidden when the viewer loads (issue 5224) #5226

Merged
merged 1 commit into from
Sep 5, 2014
Merged

Fix Zoom box resizing when it's hidden when the viewer loads (issue 5224) #5226

merged 1 commit into from
Sep 5, 2014

Conversation

Snuffleupagus
Copy link
Collaborator

Attempting to fix #5224.

@fkaelberer Can you please confirm if this patch fixes the issue?

@Snuffleupagus
Copy link
Collaborator Author

/botio-windows preview

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://107.22.172.223:8877/548ceacbd311a5a/output.txt

@fkaelberer
Copy link
Contributor

Works perfectly. Thank you.

// Note: This is only done if the zoom box is actually visible,
// since otherwise element.clientWidth will return 0.
// Note: If the window is narrow enough that the zoom box is not visible,
// we temporarily show it to be able to adjust it's width.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bad grammar: it's should be its. Fixed in new commit.

@Snuffleupagus
Copy link
Collaborator Author

@timvandermeij Are you up for reviewing this?

@timvandermeij
Copy link
Contributor

Looks good to me and confirmed to be fixed on my LG Nexus 4 phone. Thank you!

timvandermeij added a commit that referenced this pull request Sep 5, 2014
Fix Zoom box resizing when it's hidden when the viewer loads (issue 5224)
@timvandermeij timvandermeij merged commit 8c76501 into mozilla:master Sep 5, 2014
@Snuffleupagus Snuffleupagus deleted the issue-5224 branch September 5, 2014 19:28
@Snuffleupagus
Copy link
Collaborator Author

@timvandermeij Thanks for the reviews!

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.

[Android] Zoom value drop down box is too narrow after screen rotation
4 participants