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): Add zoom min/max limits for image and text files #1107

Merged
merged 2 commits into from
Nov 25, 2019

Conversation

jstoffan
Copy link
Collaborator

No description provided.

@jstoffan jstoffan requested a review from a team as a code owner November 23, 2019 01:02
@boxcla
Copy link

boxcla commented Nov 23, 2019

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

@@ -47,36 +53,31 @@ class TextBaseViewer extends BaseViewer {
/**
* Zooms by increasing or decreasing font size
* @public
* @param {string} inOrOut - in or out
* @param {string} type - in, out, reset
Copy link
Contributor

Choose a reason for hiding this comment

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

Is reset currently a used type?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't believe so, but it's supported implicitly in the existing code. This change just brings the function docs more in line with the other viewers.

@mergify mergify bot merged commit 1e84a70 into box:master Nov 25, 2019
@jstoffan jstoffan deleted the fix-zoom-limits branch March 4, 2020 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants