mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-05 12:24:46 +00:00
Fix gradient initialization
This commit is contained in:
parent
e886fee63d
commit
012c333bbb
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@
|
|||
|
||||
this.coords = coords;
|
||||
this.gradientUnits = options.gradientUnits || 'objectBoundingBox';
|
||||
this.colorStops = options.colorStops.slice();
|
||||
this.colorStops = fabric.util.object.clone(options.colorStops);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue