Refresh arrows on window scroll
pipeline / build-and-push-images (push) Successful in 32s
pipeline / deploy (push) Successful in 6s

This commit is contained in:
vhaudiquet committed 2024-12-07 17:00:02 +01:00
1 parent fbcf083f9f
commit 0d0a6a82dc
1 file changed
+3
+3
View File
@@ -78,6 +78,9 @@ function refreshArrows() {
addEventListener('resize', (_) => {
refreshArrows()
})
addEventListener("scroll", (_) => {
refreshArrows()
});
function handleSubtreeMount(end : Element) {
drawArrow(start.value!!, end)