mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-15 09:13:11 +00:00
Fix typo
This commit is contained in:
parent
8645378288
commit
e4287accb6
2 changed files with 2 additions and 2 deletions
|
|
@ -138,7 +138,7 @@
|
|||
|
||||
ctx.beginPath();
|
||||
for (var i = 0, len = this.points.length; i < len; i++) {
|
||||
p1 = this.points[i],
|
||||
p1 = this.points[i];
|
||||
p2 = this.points[i+1] || this.points[0];
|
||||
fabric.util.drawDashedLine(ctx, p1.x, p1.y, p2.x, p2.y, this.strokeDashArray);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@
|
|||
|
||||
ctx.beginPath();
|
||||
for (var i = 0, len = this.points.length; i < len; i++) {
|
||||
p1 = this.points[i],
|
||||
p1 = this.points[i];
|
||||
p2 = this.points[i+1] || p1;
|
||||
fabric.util.drawDashedLine(ctx, p1.x, p1.y, p2.x, p2.y, this.strokeDashArray);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue