Recover from skip feature removal regressions
This commit is contained in:
@@ -556,7 +556,9 @@ class Executor extends Disposable {
|
||||
switch (type) {
|
||||
case CanvasInstruction.BEGIN_GEOMETRY:
|
||||
feature = /** @type {import("../../Feature.js").FeatureLike} */ (instruction[1]);
|
||||
if (opt_hitExtent !== undefined && !intersects(opt_hitExtent, instruction[3])) {
|
||||
if (!feature.getGeometry()) {
|
||||
i = /** @type {number} */ (instruction[2]);
|
||||
} else if (opt_hitExtent !== undefined && !intersects(opt_hitExtent, instruction[3])) {
|
||||
i = /** @type {number} */ (instruction[2]) + 1;
|
||||
} else {
|
||||
++i;
|
||||
|
||||
Reference in New Issue
Block a user