Explorar el Código

Be sure not to fill paths

Getty Ritter hace 5 años
padre
commit
f6b70f80c5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -165,7 +165,7 @@ impl AsSVG for Line {
 
             xml_tag(
                 buf, "path",
-                &[("d", &path), ("stroke", &"black")],
+                &[("d", &path), ("stroke", &"black"), ("fill", &"none")],
             );
         }
     }