hitontology / gui

Erneuerung der Benutzungsoberflächen von HITO
https://hitontology.github.io/gui/
MIT License
0 stars 0 forks source link

fix SVG scaling #32

Closed KonradHoeffner closed 7 months ago

KonradHoeffner commented 7 months ago

The new preprocessing is great but the SVG scaling with the viewbox seems broken again, at least in my case it does not fill its area and it does respond to zoom commands which it was immune to before.

KonradHoeffner commented 7 months ago

I'm investigating this now.

Yagnap commented 7 months ago

Me too, I fixed the regex so it correctly applies both viewbox, width 100% for the svg element and y=5 for the genericdefs, but it still doesn't seem to be working properly

Yagnap commented 7 months ago

Even when using the old svg file (commit 9aa6b41) it doesn't do anything (for me, anyways) - maybe it has to do with the javascript?

Yagnap commented 7 months ago

Changed nothing since my last comment, now it somehow suddenly works for me again.