From e681a28da3f3f5d60eb727f89efd0b9ecb3c4476 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Fri, 21 Dec 2018 21:04:48 -0800 Subject: [PATCH] Stop stroking every path!! --- utils/tile-svg/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/tile-svg/src/main.rs b/utils/tile-svg/src/main.rs index f2c837c1..927a06f2 100644 --- a/utils/tile-svg/src/main.rs +++ b/utils/tile-svg/src/main.rs @@ -324,7 +324,7 @@ impl Scene { } fn push_svg_path(&mut self, value: &str, style: StyleId, name: String) { - if self.get_style(style).stroke_width > 0.0 { + if self.get_style(style).stroke_color.is_some() { let computed_style = self.get_style(style); let mut path_parser = PathParser::from(&*value); let path = SvgPathToPathEvents::new(&mut path_parser);