Fix width comparison

This commit is contained in:
Guillaume Beraudo
2018-11-15 18:24:20 +01:00
parent b1a5f4855f
commit eaed37da96

View File

@@ -722,7 +722,7 @@ class CanvasInstructionsExecutor {
let widthIndex = 0;
for (; d < dd; d += 2) {
if (geometryWidths) {
if (geometryWidths[widthIndex++] < width) {
if (geometryWidths[widthIndex++] < width / this.pixelRatio) {
continue;
}
}