From ab2da0bf66f3eb2f6f91a173b0730a457983f16d Mon Sep 17 00:00:00 2001 From: ShaMan123 Date: Mon, 17 Oct 2022 20:33:38 +0300 Subject: [PATCH] Update object.class.ts --- src/shapes/object.class.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shapes/object.class.ts b/src/shapes/object.class.ts index 9b8fb243199..260ac14fafa 100644 --- a/src/shapes/object.class.ts +++ b/src/shapes/object.class.ts @@ -842,7 +842,7 @@ export class FabricObject extends CommonMethods { */ _getCacheCanvasDimensions() { const objectScale = this.getTotalObjectScaling(), - // caculate dimensions without skewing + // calculate dimensions without skewing dim = this._getTransformedDimensions({ skewX: 0, skewY: 0 }), neededX = (dim.x * objectScale.x) / this.scaleX, neededY = (dim.y * objectScale.y) / this.scaleY;