mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-29 01:34:42 +00:00
Fix free drawing path initialization
This commit is contained in:
parent
a4340fda45
commit
4995fd9ed1
3 changed files with 4 additions and 4 deletions
4
dist/all.js
vendored
4
dist/all.js
vendored
|
|
@ -7048,8 +7048,8 @@ fabric.Shadow = fabric.util.createClass(/** @scope fabric.Shadow.prototype */ {
|
|||
createPath: function(pathData) {
|
||||
var path = new fabric.Path(pathData);
|
||||
path.fill = null;
|
||||
path.stroke = this.color;
|
||||
path.strokeWidth = this.width;
|
||||
path.stroke = this.canvas.freeDrawingColor;
|
||||
path.strokeWidth = this.canvas.freeDrawingLineWidth;
|
||||
return path;
|
||||
},
|
||||
|
||||
|
|
|
|||
BIN
dist/all.min.js.gz
vendored
BIN
dist/all.min.js.gz
vendored
Binary file not shown.
|
|
@ -206,8 +206,8 @@
|
|||
createPath: function(pathData) {
|
||||
var path = new fabric.Path(pathData);
|
||||
path.fill = null;
|
||||
path.stroke = this.color;
|
||||
path.strokeWidth = this.width;
|
||||
path.stroke = this.canvas.freeDrawingColor;
|
||||
path.strokeWidth = this.canvas.freeDrawingLineWidth;
|
||||
return path;
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue