diff --git a/src/pixi/primitives/Graphics.js b/src/pixi/primitives/Graphics.js index 531967c..341c177 100644 --- a/src/pixi/primitives/Graphics.js +++ b/src/pixi/primitives/Graphics.js @@ -891,7 +891,7 @@ shape = data.shape; - if(type === PIXI.Graphics.RECT || type === PIXI.Graphics.RRECT) + if(type === PIXI.Graphics.RECT || type === PIXI.Graphics.RREC) { x = shape.x - lineWidth/2; y = shape.y - lineWidth/2;