mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-03-16 22:10:32 +00:00
Add patternTransform toObject saving (#4626)
* Add patternTransform toObject saving * Update pattern.class.js
This commit is contained in:
parent
0a7aba74ee
commit
8792d83679
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue