Fix a rendering bug introduced in 9f97e9a
.
parent
3a585ea7c2
commit
90987d3ee4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue