diff options
| author | bobzel <zzzman@gmail.com> | 2025-07-08 20:43:15 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-07-08 20:43:15 -0400 |
| commit | ebd7eb5ff5b1ad34f4474abb13d788878e2345ad (patch) | |
| tree | 08a0e500d4920cc223a3c766c8ce6c9a63c0e0e0 /src/client/views/pdf | |
| parent | 95c0d9b0ed3cf8bf50f3a3eac2f1dff146ba131c (diff) | |
| parent | fbbf2933418cc9a4434cfc873b88d04a392cd8e9 (diff) | |
Merge branch 'master' into agent-paper-main
Diffstat (limited to 'src/client/views/pdf')
| -rw-r--r-- | src/client/views/pdf/Annotation.tsx | 4 |
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} |
