Przeglądaj źródła

Be sure not to fill paths

Getty Ritter 5 lat temu
rodzic
commit
f6b70f80c5
1 zmienionych plików z 1 dodań i 1 usunięć
  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")],
             );
         }
     }