From 33491dba3efcfa680434a94f68468215306761a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sun, 27 Jul 2025 21:41:39 +0200 Subject: [PATCH] fix: don't display any image by default, everything goes through queue --- src/components/SVGContent.vue | 4 +++ src/components/VideoScroll.vue | 21 +++--------- src/services/AudioLoader.ts | 61 ++++++++++++++++++---------------- 3 files changed, 41 insertions(+), 45 deletions(-) diff --git a/src/components/SVGContent.vue b/src/components/SVGContent.vue index 218a9f4..45f4156 100644 --- a/src/components/SVGContent.vue +++ b/src/components/SVGContent.vue @@ -469,6 +469,10 @@ async function processScrolls(svg: XMLDocument): Promise { return Promise.all( Array.from(svg.getElementsByTagName("image")) + .map((el) => { + el.removeAttribute("xlink:href"); + return el; + }) .filter((el) => Array.from(el.children).some((el) => el.tagName == "desc") ) diff --git a/src/components/VideoScroll.vue b/src/components/VideoScroll.vue index 9f69145..8d3c3fb 100644 --- a/src/components/VideoScroll.vue +++ b/src/components/VideoScroll.vue @@ -1,18 +1,5 @@