Fixed error with (fill (svg)) fill

This commit is contained in:
Devine Lu Linvega
2019-07-15 08:31:09 +09:00
parent 89196fd28d
commit ab3d959335
2 changed files with 4 additions and 3 deletions

View File

@@ -64,7 +64,6 @@ function Surface (ronin) {
context.font = `${shape.g}px ${shape.f}`
context.fillText(shape.s, shape.x, shape.y)
} else if (shape.t === 'svg') {
context.lineWidth = width
context.fillStyle = color
context.fill(new Path2D(shape.d))
} else {