aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-07-08 20:43:15 -0400
committerbobzel <zzzman@gmail.com>2025-07-08 20:43:15 -0400
commitebd7eb5ff5b1ad34f4474abb13d788878e2345ad (patch)
tree08a0e500d4920cc223a3c766c8ce6c9a63c0e0e0 /src/client/views/pdf
parent95c0d9b0ed3cf8bf50f3a3eac2f1dff146ba131c (diff)
parentfbbf2933418cc9a4434cfc873b88d04a392cd8e9 (diff)
Merge branch 'master' into agent-paper-main
Diffstat (limited to 'src/client/views/pdf')
-rw-r--r--src/client/views/pdf/Annotation.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/pdf/Annotation.tsx b/src/client/views/pdf/Annotation.tsx
index e8a5235c9..69dda89cb 100644
--- a/src/client/views/pdf/Annotation.tsx
+++ b/src/client/views/pdf/Annotation.tsx
@@ -119,9 +119,9 @@ export class Annotation extends ObservableReactComponent<IAnnotationProps> {
{StrListCast(this._props.annoDoc.text_inlineAnnotations)
.map(a => a.split?.(':'))
.filter(fields => fields)
- .map(([x, y, width, height]) => (
+ .map(([x, y, width, height], i) => (
<div
- key={'' + x + y + width + height}
+ key={'' + x + y + width + height + i}
style={{ pointerEvents: this._props.pointerEvents?.() as Property.PointerEvents }}
onPointerDown={this.onPointerDown}
onContextMenu={this.onContextMenu}