We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48aa8ec commit e9f4806Copy full SHA for e9f4806
package.json
@@ -30,7 +30,7 @@
30
"@egjs/hammerjs": "^2.0.8",
31
"d3": "^7.8.5",
32
"glslang-validator-prebuilt-predownloaded": "^0.0.2",
33
- "vtk.js": "*"
+ "vtk.js": "<32.10.0 || >32.10.0"
34
},
35
"devDependencies": {
36
"@babel/core": "^7.17.0",
src/quadFeature.js
@@ -237,6 +237,11 @@ var quadFeature = function (arg) {
237
coordbasis.y = 1 - coordbasis.y;
238
}
239
if (coordbasis) {
240
+ if (quad.crop && quad.crop.x !== undefined && quad.crop.y !== undefined && (coordbasis.x >= quad.crop.x || coordbasis.y >= quad.crop.y)) {
241
+ indices.pop();
242
+ found.pop();
243
+ return;
244
+ }
245
extra[quad.idx] = {basis: coordbasis, _quad: quad};
246
247
0 commit comments