-
-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix undo redo rotation issues when flipped (#396)
- Loading branch information
1 parent
2ad6323
commit 29b6fec
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29b6fec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @guoyingtao enum ImageRotationType: CGFloat {
case none = 0
case counterclockwise90 = -90
case counterclockwise180 = -180
case counterclockwise270 = -270
} THISis the rotation clockwise and anticlockwise writtent but when i rotate clockwise and anticlockwise image one time two time , suppose rotate two time clockwise give 270 degree i dont know why it gives 180 due to which api fail as paas angle in param i think rotation not working properly give wrong angle can you help me out for this
29b6fec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/user-attachments/assets/fd351387-5134-4dcf-83d1-17515b1fa605
https://github.com/user-attachments/assets/8c09bb6c-d513-4126-8bc4-7215d5c31e19
29b6fec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please provide seudo code so i can find every time correct rotation on rotate clockwise and anticlockwise