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: solve the issue when using normalizedTransform with presetFixedRatioType #98

Merged
merged 11 commits into from
Apr 22, 2021

Conversation

guoyingtao
Copy link
Owner

fix #97

@guoyingtao guoyingtao self-assigned this Apr 15, 2021
@guoyingtao guoyingtao added the bug Something isn't working label Apr 15, 2021
Yingtao Guo added 10 commits April 19, 2021 15:00
If we have preset transformation, we don’t need provide ratio to alwaysUsingOnePresetFixedRatio. Instead we directly use the ratio of preset transformation
Set aspectRatioLockEnabled to true if config.presetFixedRatioType is alwaysUsingOnePresetFixedRatio for preset transformations
# Conflicts:
#	Sources/Mantis/CropView/CropView.swift
@guoyingtao guoyingtao merged commit de03623 into master Apr 22, 2021
@guoyingtao guoyingtao deleted the 97_transform_presetFixedRatio branch April 26, 2021 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Difficulty using normalizedTransform with presetFixedRatioType
1 participant