diff --git a/frontend/index.html b/frontend/index.html index 0e1c159..e30a436 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -46,7 +46,7 @@
- Struktur (Text) + Struktur (Text)
- +
Agenda
diff --git a/frontend/src/app.js b/frontend/src/app.js index b8f886d..c9cf2ce 100644 --- a/frontend/src/app.js +++ b/frontend/src/app.js @@ -89,9 +89,8 @@ function svgEl(name, attrs){ return e; } function overlaySvg(cls, w, h){ - const svg = svgEl('svg', {class:'cheap-overlay ' + cls, width:w, height:h, + return svgEl('svg', {class:'cheap-overlay ' + cls, width:w, height:h, viewBox:`0 0 ${w.toFixed(1)} ${h.toFixed(1)}`}); - return svg; } function drawCheapPath(){ out.querySelectorAll('svg.cheap-overlay').forEach(e => e.remove());