diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-07-27 00:32:50 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-07-27 00:32:50 -0400 |
commit | 49fcb0f6613344fb62db618c0b466c6155c20eb0 (patch) | |
tree | b8a682f0f1c7b0c594e31dbd364bcd3184e11e3c /src/client/views/DocComponent.tsx | |
parent | a904a5fd2d33fd4783a45b3411c9309cc25ad0fd (diff) |
extended pdfviewer interactions to WebBox's.
Diffstat (limited to 'src/client/views/DocComponent.tsx')
-rw-r--r-- | src/client/views/DocComponent.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx index cfabae8a1..9fd406407 100644 --- a/src/client/views/DocComponent.tsx +++ b/src/client/views/DocComponent.tsx @@ -122,7 +122,7 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps, T @action.bound removeDocument(doc: Doc | Doc[]): boolean { const docs = doc instanceof Doc ? [doc] : doc; - docs.map(doc => doc.annotationOn = undefined); + docs.map(doc => doc.isPushpin = doc.annotationOn = undefined); const targetDataDoc = this.dataDoc; const value = DocListCast(targetDataDoc[this.annotationKey]); const toRemove = value.filter(v => docs.includes(v)); |