diff --git a/src/object.class.js b/src/object.class.js index 7fa4ed93..19e1d689 100644 --- a/src/object.class.js +++ b/src/object.class.js @@ -663,8 +663,8 @@ if (this.fill.toLive) { ctx.save(); ctx.translate( - -this.width / 2 + this.fill.offsetX, - -this.height / 2 + this.fill.offsetY); + -this.width / 2 + this.fill.offsetX || 0, + -this.height / 2 + this.fill.offsetY || 0); } ctx.fill(); if (this.fill.toLive) {