Skip to content

Commit

Permalink
fix error with previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nkan-aot2 authored May 29, 2024
1 parent 8e42a55 commit e18602a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/FOI/Home/Redlining.js
Original file line number Diff line number Diff line change
Expand Up @@ -2244,7 +2244,7 @@ const Redlining = React.forwardRef(
_annot.PageNumber = _redaction?.getPageNumber();
// let rect = _redaction.getQuads()[0].toRect();
let quad = _redaction.getQuads()[0];
let rect = docInstance.Core.Math.Rect(quad.x1, quad.y3, quad.x2, quad.y2);
let rect = new docInstance.Core.Math.Rect(quad.x1, quad.y3, quad.x2, quad.y2);
const doc = docViewer.getDocument();
const pageInfo = doc.getPageInfo(_annot.PageNumber);
const pageMatrix = doc.getPageMatrix(_annot.PageNumber);
Expand Down

0 comments on commit e18602a

Please sign in to comment.