From 90987d3ee427f5a06df3e5ce4f81d71f252b2aba Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 14 Oct 2016 04:15:20 +0000 Subject: [PATCH] Fix a rendering bug introduced in 9f97e9a. --- src/style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/style.cpp b/src/style.cpp index 30df559..c265dfc 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -290,7 +290,7 @@ Canvas::Stroke Style::Stroke(hStyle hs) { stroke.color = style->color; stroke.stipplePattern = style->stippleType; stroke.stippleScale = style->stippleScale; - stroke.width = Style::Width(hs.v); + stroke.width = style->width; switch(style->widthAs) { case Style::UnitsAs::PIXELS: stroke.unit = Canvas::Unit::PX;