diff options
| author | bobzel <zzzman@gmail.com> | 2025-03-21 18:58:21 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-03-21 18:58:21 -0400 |
| commit | 7e4d793eaa7e5b6b564355a11fa02a5611645f20 (patch) | |
| tree | acab0bf2057a26b4daeead8ce8d4568afa167b2a /src/client/views/pdf/PDFViewer.tsx | |
| parent | 2d64242ce924a5ba18e3c8dd0a6efe54db2e3f9a (diff) | |
trying to improve how data / layout / root and templtae docs are accessed.
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
| -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 dc7524bcd..2142adac8 100644 --- a/src/client/views/pdf/PDFViewer.tsx +++ b/src/client/views/pdf/PDFViewer.tsx @@ -431,7 +431,7 @@ export class PDFViewer extends ObservableReactComponent<IViewerProps> { }; addDrawingAnnotation = (drawing: Doc) => { - // drawing[DocData].x = this._props.pdfBox.ScreenToLocalBoxXf().TranslateX + // drawing.x = this._props.pdfBox.ScreenToLocalBoxXf().TranslateX // const scaleX = this._mainCont.current.offsetWidth / boundingRect.width; drawing.y = NumCast(drawing.y) + NumCast(this._props.Document.layout_scrollTop); this._props.addDocument?.(drawing); |
