Skip to content

Conversation

@jacobsvante
Copy link
Contributor

Removed old flag constrain which always locked the aspect ratio to 1:1. New flag aspectRatio allows setting any aspect ratio. Also fixed that selectAll did not trigger crop.data.

Removed old flag `constrain` which always locked the aspect ratio to 1:1. New flag `aspectRatio` allows setting any aspect ratio. Also fixed that `selectAll` did not trigger `crop.data`.
@jacobsvante
Copy link
Contributor Author

Fixes #1

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Forgot to mention that there's another fix in this PR. Previously dragging the selection upwards toward the left or top edges and releasing the mouse would not trigger crop.finish because either coords.x or coords.y where 0. Not sure how the logic works here with JS but looking to see if they are all numbers instead fixed it.

@jacobsvante jacobsvante mentioned this pull request Aug 5, 2014
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.

1 participant