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(plugin/camera): Fix scaling when setting only height #2123

Merged
merged 1 commit into from
Nov 12, 2019

Conversation

zyniq82
Copy link
Contributor

@zyniq82 zyniq82 commented Oct 31, 2019

This fixes a bug where giving a prescribed height when scaling results in an image with inverted aspect ratio (i.e. trying to scale a portrait image would yield a landscape result and vice versa).

This fixes a bug where giving a prescribed `height` when scaling results in an
image with inverted aspect ratio (i.e. trying to scale a portrait image would
yield a landscape result and vice versa).
@jcesarmobile jcesarmobile changed the title fix(plugin/camera): Fix scaling when setting only height fix(plugin/camera): Fix scaling when setting only height Nov 12, 2019
Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

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

good catch, thanks!

@jcesarmobile jcesarmobile merged commit 0bc0039 into ionic-team:master Nov 12, 2019
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.

2 participants