mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-13 16:33:28 -04:00
Fix single equal compare.
This commit is contained in:
parent
90be683113
commit
6095723e70
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ var PathFlattener = Base.extend({
|
|||
var curve = Curve.getPart.apply(Curve, this.curves[i].concat(
|
||||
i == from.index ? from.value : 0,
|
||||
i == to.index ? to.value : 1));
|
||||
if (i = from.index)
|
||||
if (i == from.index)
|
||||
ctx.moveTo(curve[0], curve[1]);
|
||||
ctx.bezierCurveTo.apply(ctx, curve.slice(2));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue