Rotate animation will rebound at 0deg - 360deg or 360deg - 0deg #1235
-
codesandbox: https://codesandbox.io/s/confident-star-fmbz1?file=/src/mobx.js As you can see, It will rebound at 0deg - 360deg I want to achieve like this effect iShot2021-11-18.00.15.42.movIt bothered me for a long time 😭 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I am not certain if there are any simple solutions from Konva or Why do you need to limit angle? |
Beta Was this translation helpful? Give feedback.
-
Modify the original value based on the difference |
Beta Was this translation helpful? Give feedback.
Modify the original value based on the difference
https://codesandbox.io/s/flamboyant-ioana-5zems1?file=/src/App.js