bx-865-apps #1

Merged
ksenia_mikhailova merged 140 commits from bx-865-apps into main 2024-06-27 15:03:27 +03:00
1 changed files with 4 additions and 5 deletions
Showing only changes of commit 9fbb976d00 - Show all commits

View File

@ -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>