|
@@ -69,7 +69,7 @@ class WBRootDirWrapper { |
|
|
for (let i = start; i < end; i++) {
|
|
|
for (let i = start; i < end; i++) {
|
|
|
const loc = stm[i];
|
|
|
const loc = stm[i];
|
|
|
res.push([ loc[0], Math.max(0, seg[1] - loc[1]),
|
|
|
res.push([ loc[0], Math.max(0, seg[1] - loc[1]),
|
|
|
Math.min(loc[2], seg[1] + seg[2] - loc[1]) ]);
|
|
|
|
|
|
|
|
|
Math.min(loc[2] - loc[1], seg[1] + seg[2] - loc[1]) ]);
|
|
|
}
|
|
|
}
|
|
|
return res;
|
|
|
return res;
|
|
|
}), file[1] ];
|
|
|
}), file[1] ];
|
|
|