diff --git a/src/pixi/renderers/canvas/CanvasGraphics.js b/src/pixi/renderers/canvas/CanvasGraphics.js index 97224d6..1fb5372 100644 --- a/src/pixi/renderers/canvas/CanvasGraphics.js +++ b/src/pixi/renderers/canvas/CanvasGraphics.js @@ -86,7 +86,7 @@ { context.globalAlpha = data.fillAlpha * worldAlpha; context.fillStyle = '#' + ('00000' + ( fillColor | 0).toString(16)).substr(-6); - context.colorRect(shape.x, shape.y, shape.width, shape.height); + context.fillRect(shape.x, shape.y, shape.width, shape.height); } if(data.lineWidth)