Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
GribovskyPavel committed Feb 20, 2024
1 parent cd20ad2 commit 3e837b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/bounding_boxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ var BoundingBoxesCalculator = (function PartialEvaluatorClosure() {
// Prevent parsing of Marked content with same MCIDs
if (this.mcidArray.includes(mcid)) {
this.sameMcidDepth++;
return;
break;
} else {
this.mcidArray.push(mcid);
}
Expand All @@ -567,7 +567,7 @@ var BoundingBoxesCalculator = (function PartialEvaluatorClosure() {
case OPS.endMarkedContent:
if (this.sameMcidDepth !== 0) {
this.sameMcidDepth--;
return;
break;
}

let boundingBox = this.boundingBoxesStack.end();
Expand Down

0 comments on commit 3e837b2

Please sign in to comment.