Avoid flash of unstyled content

This commit is contained in:
heyarne 2021-07-30 09:42:56 +02:00
commit 78e2506d34

View file

@ -71,6 +71,7 @@
(+ height (* 2 radius))) (+ height (* 2 radius)))
:xmlns "http://www.w3.org/2000/svg" :xmlns "http://www.w3.org/2000/svg"
:style "overflow: visible"} :style "overflow: visible"}
[:style "path { fill: none; stroke: none; }"] # avoid flash of unstyled content
[:g {:transform "translate(0.5, 0.5"} [:g {:transform "translate(0.5, 0.5"}
(mapcat (mapcat
(fn [y] (fn [y]