bx-865-apps #1
|
@ -81,11 +81,10 @@ onMounted(async () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (document.querySelector('.pin')) {
|
if (document.querySelector('.pin')) {
|
||||||
setTimeout(() => {
|
|
||||||
const rect = (document.querySelector('.pin') as HTMLElement).getBoundingClientRect()
|
const rect = (document.querySelector('.pin') as HTMLElement).getBoundingClientRect()
|
||||||
circles[circles.length - 1] = { x: rect.x + rect.width, y: rect.y + rect.height }
|
circles[circles.length - 1] = { x: rect.x + rect.width, y: rect.y + rect.height }
|
||||||
circles[circles.length - 2] = { x: rect.x, y: rect.y }
|
circles[circles.length - 2] = { x: rect.x, y: rect.y }
|
||||||
}, 300)
|
update()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue