mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -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,
|
var m = (l + r) >>> 1,
|
||||||
loc2 = locations[m],
|
loc2 = locations[m],
|
||||||
curve2 = loc2._curve,
|
curve2 = loc2._curve,
|
||||||
path2 = curve2._path;
|
path2 = curve2._path,
|
||||||
diff = path1 === path2
|
diff = path1 === path2
|
||||||
? curve1.getIndex() + loc._parameter
|
? curve1.getIndex() + loc._parameter
|
||||||
- curve2.getIndex() - loc2._parameter
|
- curve2.getIndex() - loc2._parameter
|
||||||
// Sort by path id to group all locs on same path.
|
// Sort by path id to group all locs on same path.
|
||||||
|
|
Loading…
Reference in a new issue