Skip to content

Commit

Permalink
Update object.class.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Oct 17, 2022
1 parent cabc310 commit ab2da0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shapes/object.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ab2da0b

Please sign in to comment.