This commit is contained in:
@@ -35,7 +35,7 @@ function mouseleave(e: Event) {
|
|||||||
watch(
|
watch(
|
||||||
() => props.card_id,
|
() => props.card_id,
|
||||||
() => {
|
() => {
|
||||||
rotation.value = Math.random() > .5 ? 2 : -2
|
props.wrapped ? rotation.value = (Math.random() * 4) - 2 : rotation.value = Math.random() > .5 ? 2 : -2
|
||||||
},
|
},
|
||||||
{ immediate: true })
|
{ immediate: true })
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user