This commit is contained in:
@@ -35,7 +35,7 @@ function mouseleave(e: Event) {
|
||||
watch(
|
||||
() => 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 })
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user