Fix a rendering bug introduced in 9f97e9a.

pull/97/head
whitequark 2016-10-14 04:15:20 +00:00
parent 3a585ea7c2
commit 90987d3ee4
1 changed files with 1 additions and 1 deletions

View File

@ -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;