diff --git a/src/pixi/primitives/Graphics.js b/src/pixi/primitives/Graphics.js index aa7fe46..7203daa 100644 --- a/src/pixi/primitives/Graphics.js +++ b/src/pixi/primitives/Graphics.js @@ -848,7 +848,7 @@ minX = x < minX ? x : minX; maxX = x + w > maxX ? x + w : maxX; - minY = y < minY ? x : minY; + minY = y < minY ? y : minY; maxY = y + h > maxY ? y + h : maxY; } else if(type === PIXI.Graphics.CIRC || type === PIXI.Graphics.ELIP)