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: fix flip issue when rotating angle is exact 45 or -45 degrees #353

Merged
merged 4 commits into from
Nov 13, 2023

Conversation

guoyingtao
Copy link
Owner

deprecate some enum definitions and properties

@guoyingtao
Copy link
Owner Author

This PR removed the capability of setting rotation limitation which I think it rarely used and it will be hard to handle the flips when rotation angle is bigger than 45 degrees.

Comment on lines -67 to -76
public enum AngleShowLimitType {
case noLimit
case limit(degreeAngle: CGFloat)
}

public enum RotationLimitType {
case noLimit
case limit(degreeAngle: CGFloat)
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

I wasn't using them 👍

@guoyingtao guoyingtao merged commit 6f73382 into master Nov 13, 2023
@guoyingtao guoyingtao deleted the fix-rotate45-flip branch May 12, 2024 03:40
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.

None yet

2 participants