Quellcode durchsuchen

Be sure not to fill paths

Getty Ritter vor 6 Jahren
Ursprung
Commit
f6b70f80c5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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")],
             );
         }
     }