diff --git a/src/item/Shape.js b/src/item/Shape.js index ff3f06af..69c033e3 100644 --- a/src/item/Shape.js +++ b/src/item/Shape.js @@ -203,7 +203,7 @@ var Shape = Item.extend(/** @lends Shape# */{ size = this._size, width = size.width, height = size.height; - if (untransformed && type === 'rect' && rx === 0 && ry === 0) { + if (untransformed && type === 'rectangle' && rx === 0 && ry === 0) { // Rectangles with no rounding ctx.rect(-width / 2, -height / 2, width, height); } else {