aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsharkiecodes <lanyi_stroud@brown.edu>2025-07-01 14:28:44 -0400
committersharkiecodes <lanyi_stroud@brown.edu>2025-07-01 14:28:44 -0400
commit0e2abee77d5310056921fc50779349c0b36e166d (patch)
tree4ba713278a70fb3937e2890cecb20d8b63bfbe70 /src
parentd6672879b9e1dcb299eccd9818d4b214673c7a93 (diff)
parent3c5ef282863ae4796622795b6b30c053126ab6c9 (diff)
Merge branch 'master' into lanyi-expanded-agent-paper-main
Diffstat (limited to 'src')
-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}