fix: double minus sign crash in sticker rotation

This commit is contained in:
2026-06-11 13:03:55 +02:00
parent aef6f9f2a3
commit 16b8aca0ad
+1 -1
View File
@@ -124,7 +124,7 @@ export default function DraggableSticker({
const deleteBtnStyle = useAnimatedStyle(() => ({
transform: [
{ scale: 1 / scale.value },
{ rotate: `-${rotation.value}rad` }, // keep it upright
{ rotate: `${-rotation.value}rad` }, // keep it upright
],
}));