-
How can i rotate this image with an icon ? |
Beta Was this translation helpful? Give feedback.
Answered by
Glazzes
Aug 11, 2024
Replies: 3 comments 5 replies
-
@BennyTian did you figure this out? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@BennyTian The same problem |
Beta Was this translation helpful? Give feedback.
0 replies
-
It can be achieved with some simple trigonometry and a pan gesture in the following manner:
It's hard to explain, but this how one achieves rotation with a single finger. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@xiaoosnggao I managed to find the file and it was a mess, I took to the time to rewrite it for a simple demo of my own. This is the most complete version I can share as a stand alone file https://gist.github.com/Glazzes/3249c28b8c33e300df0a53273db7dc78