diff --git a/app/src/components/SVGContent.vue b/app/src/components/SVGContent.vue index 20a71d6..25f5ad9 100644 --- a/app/src/components/SVGContent.vue +++ b/app/src/components/SVGContent.vue @@ -246,9 +246,9 @@ export default defineComponent({ console.info("[SVG] DEBUG mode active, turning on stats & dev panel."); stats = new Stats(); document.body.appendChild(stats.dom); - } else { + Array.from(document.body.getElementsByClassName("dev")).forEach((el) => { - (el as HTMLElement).style.display = "none"; + (el as HTMLElement).style.display = "block"; }); } @@ -473,6 +473,10 @@ function processStart(svg: XMLDocument): SVGRectElement | null { transition: width 0.2s; } +.dev { + display: none; +} + .devpanel { position: fixed; top: 0;