-
Hi there, Is there a native way in SigmaJS to only disable the two finger rotation gesture when using touch devices? |
Beta Was this translation helpful? Give feedback.
Answered by
sim51
Aug 20, 2024
Replies: 2 comments
-
I guess it's done by setting the camera angle to be 0 in the touch move handler when 2 touches are in action? There's no direct "disable rotation" other than this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can disable the rotation : |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jacomyal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can disable the rotation :
sigma.setSetting("enableCameraRotation", false);
It has been added recently : #1449