Don't apply scale twice for text if both height and stroke are in mm.
parent
626ffeab1f
commit
5763972ed8
|
@ -1169,9 +1169,10 @@ s:
|
||||||
}
|
}
|
||||||
|
|
||||||
if(disp.style.v != 0) {
|
if(disp.style.v != 0) {
|
||||||
stroke.width = Style::Width(disp.style);
|
RgbaColor color = stroke.color;
|
||||||
if(how == DrawAs::DEFAULT) {
|
stroke = Style::Stroke(disp.style);
|
||||||
stroke.color = Style::Color(disp.style);
|
if(how != DrawAs::DEFAULT) {
|
||||||
|
stroke.color = color;
|
||||||
}
|
}
|
||||||
hcs = canvas->GetStroke(stroke);
|
hcs = canvas->GetStroke(stroke);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue