mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Fix variable leackage.
This commit is contained in:
parent
b68be09c87
commit
1302df0cb8
1 changed files with 2 additions and 2 deletions
|
@ -415,8 +415,8 @@ var CurveLocation = Base.extend(/** @lends CurveLocation# */{
|
|||
var m = (l + r) >>> 1,
|
||||
loc2 = locations[m],
|
||||
curve2 = loc2._curve,
|
||||
path2 = curve2._path;
|
||||
diff = path1 === path2
|
||||
path2 = curve2._path,
|
||||
diff = path1 === path2
|
||||
? curve1.getIndex() + loc._parameter
|
||||
- curve2.getIndex() - loc2._parameter
|
||||
// Sort by path id to group all locs on same path.
|
||||
|
|
Loading…
Reference in a new issue