Skip to content

Commit

Permalink
Fix a rendering bug introduced in 9f97e9a.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Oct 14, 2016
1 parent 3a585ea commit 90987d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 90987d3

Please sign in to comment.