diff options
author | bobzel <zzzman@gmail.com> | 2025-06-30 18:12:26 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-06-30 18:12:26 -0400 |
commit | 3c5ef282863ae4796622795b6b30c053126ab6c9 (patch) | |
tree | 8b6fdb4f6299c457bb20719650d827b76d1dc711 | |
parent | 2d70a3bc17fe94d0bf92d8362b8fda8a2e4a82e1 (diff) |
warning fix.
-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} |