mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Fix accidental variable leakage.
This commit is contained in:
parent
469d3129a6
commit
e1ef69f23a
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ PathItem.inject(new function() {
|
|||
midPoint = segment.getCurve().getPoint(0.5),
|
||||
insidePath1 = path !== _path1 && _path1.contains(midPoint)
|
||||
&& (clockwise === path1Clockwise || subtract
|
||||
|| !testOnCurve(_path1, midPoint));
|
||||
|| !testOnCurve(_path1, midPoint)),
|
||||
insidePath2 = path !== _path2 && _path2.contains(midPoint)
|
||||
&& (clockwise === path2Clockwise
|
||||
|| !testOnCurve(_path2, midPoint));
|
||||
|
|
Loading…
Reference in a new issue