diff --git a/src/shapes/rect.class.js b/src/shapes/rect.class.js index 24d7ca6113f..d051c89d1a8 100644 --- a/src/shapes/rect.class.js +++ b/src/shapes/rect.class.js @@ -78,11 +78,8 @@ */ _render: function(ctx) { - // optimize 1x1 case (used in spray brush) - if (this.width === 1 && this.height === 1) { - ctx.fillRect(-0.5, -0.5, 1, 1); - return; - } + // 1x1 case (used in spray brush) optimization was removed because + // with caching and higher zoom level this makes more damage than help var rx = this.rx ? Math.min(this.rx, this.width / 2) : 0, ry = this.ry ? Math.min(this.ry, this.height / 2) : 0,