diff options
Diffstat (limited to 'src/client/views/pdf/Annotation.tsx')
-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} |