()
| 58 | gsap.to(target, { rotation: rot, duration: 0.15, ease: 'power1.out' }); |
| 59 | }, |
| 60 | onDragEnd() { |
| 61 | const rotationEase = 'power2.out'; |
| 62 | const duration = 0.8; |
| 63 | gsap.to(target, { rotation: 0, duration, ease: rotationEase }); |
| 64 | } |
| 65 | })[0]; |
| 66 | |
| 67 | const handleResize = () => { |