Skip to content

Commit

Permalink
Fix bug #73210
Browse files Browse the repository at this point in the history
  • Loading branch information
KhromovNikita committed Feb 13, 2025
1 parent 21bfcc1 commit 68c9e4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdf/src/annotations/textPrTrackHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
CAnnotTextPrTrackHandler.prototype.OnChangePosition = function() {
let bounds = this.GetBounds();
if (!bounds)
return;
return this.OnHide();

this.OnShow(bounds);
};
Expand All @@ -87,7 +87,7 @@
CAnnotTextPrTrackHandler.prototype.GetBounds = function() {
let oAnnot = this.Annot;

if (!oAnnot)
if (!oAnnot || !oAnnot.IsUseInDocument())
return null;

let oDoc = oAnnot.GetDocument();
Expand Down

0 comments on commit 68c9e4f

Please sign in to comment.