diff options
author | sharkiecodes <lanyi_stroud@brown.edu> | 2025-07-01 14:28:44 -0400 |
---|---|---|
committer | sharkiecodes <lanyi_stroud@brown.edu> | 2025-07-01 14:28:44 -0400 |
commit | 0e2abee77d5310056921fc50779349c0b36e166d (patch) | |
tree | 4ba713278a70fb3937e2890cecb20d8b63bfbe70 | |
parent | d6672879b9e1dcb299eccd9818d4b214673c7a93 (diff) | |
parent | 3c5ef282863ae4796622795b6b30c053126ab6c9 (diff) |
Merge branch 'master' into lanyi-expanded-agent-paper-main
-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} |