aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/WebBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-01-07 01:24:55 -0500
committerbobzel <zzzman@gmail.com>2025-01-07 01:24:55 -0500
commit93ee735e435de5949a0eec54c07537c4de2eedf4 (patch)
tree2a9aaea1a4deaea5500e45ab890536b593f74ca0 /src/client/views/nodes/WebBox.tsx
parent68af8fffb3111870dd84d4280fdd73b05832dfd2 (diff)
fixed pdfs/marqueeAnnotator so that you can add rectangle annotations.
Diffstat (limited to 'src/client/views/nodes/WebBox.tsx')
-rw-r--r--src/client/views/nodes/WebBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx
index ffeb574e9..6026d9ca7 100644
--- a/src/client/views/nodes/WebBox.tsx
+++ b/src/client/views/nodes/WebBox.tsx
@@ -1196,6 +1196,7 @@ export class WebBox extends ViewBoxAnnotatableComponent<FieldViewProps>() {
scaling={this._props.NativeDimScaling}
addDocument={this.addDocumentWrapper}
docView={this.DocumentView}
+ screenTransform={this.DocumentView().screenToViewTransform}
finishMarquee={this.finishMarquee}
savedAnnotations={this.savedAnnotationsCreator}
selectionText={this.selectionText}