Skip to content

Commit

Permalink
add erasable prop to toObject
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Apr 8, 2021
1 parent 4667bd6 commit 7a7ef60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shapes/object.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,8 @@
globalCompositeOperation: this.globalCompositeOperation,
skewX: toFixed(this.skewX, NUM_FRACTION_DIGITS),
skewY: toFixed(this.skewY, NUM_FRACTION_DIGITS),
erasable: this.erasable,
eraser: this.eraser ? this.eraser.toObject() : null
};

if (this.clipPath) {
Expand Down

0 comments on commit 7a7ef60

Please sign in to comment.