Skip to content

Commit

Permalink
Add patternTransform toObject saving (fabricjs#4626)
Browse files Browse the repository at this point in the history
* Add patternTransform toObject saving
* Update pattern.class.js
  • Loading branch information
DangerD256 authored and asturur committed Jan 17, 2018
1 parent b86a9e1 commit bec39b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pattern.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
repeat: this.repeat,
offsetX: toFixed(this.offsetX, NUM_FRACTION_DIGITS),
offsetY: toFixed(this.offsetY, NUM_FRACTION_DIGITS),
patternTransform: this.patternTransform ? this.patternTransform.concat() : null
};
fabric.util.populateWithProperties(this, object, propertiesToInclude);

Expand Down

0 comments on commit bec39b5

Please sign in to comment.