diff options
author | bobzel <zzzman@gmail.com> | 2020-08-19 19:34:28 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-19 19:34:28 -0400 |
commit | dee04716bb572bff63f205348e90d80d2e609532 (patch) | |
tree | 36169eef22afc9af402b5181ddb88344621f67a0 /src | |
parent | c64834d75bfdc8494000511a4cffef5cf50f8d89 (diff) |
fixed width => _width
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/pdf/PDFViewer.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx index f9ae78778..965d568e6 100644 --- a/src/client/views/pdf/PDFViewer.tsx +++ b/src/client/views/pdf/PDFViewer.tsx @@ -313,7 +313,7 @@ export class PDFViewer extends ViewBoxAnnotatableComponent<IViewerProps, PdfDocu annoDocs.push(annoDoc); anno.remove(); (annoDoc.y !== undefined) && (minY = Math.min(NumCast(annoDoc.y), minY)); - (annoDoc.x !== undefined) && (maxX = Math.max(NumCast(annoDoc.x) + NumCast(annoDoc.width), maxX)); + (annoDoc.x !== undefined) && (maxX = Math.max(NumCast(annoDoc.x) + NumCast(annoDoc._width), maxX)); })); mainAnnoDocProto.y = Math.max(minY, 0); |