diff options
author | bobzel <zzzman@gmail.com> | 2021-03-29 20:36:47 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-03-29 20:36:47 -0400 |
commit | 589f07ea018368057fe80b136c3fd2153efe0fcb (patch) | |
tree | 06e9a1749551397d6ec270da69a9cc2852955f33 /src/client/views/DocComponent.tsx | |
parent | 7db0fe589afa3281894afb0a0d3bd6b9983c9d33 (diff) |
fixed text input after changes to active/selected
Diffstat (limited to 'src/client/views/DocComponent.tsx')
-rw-r--r-- | src/client/views/DocComponent.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx index 5c0fe6b97..566e884c5 100644 --- a/src/client/views/DocComponent.tsx +++ b/src/client/views/DocComponent.tsx @@ -203,10 +203,10 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps, T if (effectiveAcl === AclAddonly) { added.map(doc => { - this.props.layerProvider?.(doc, true); - Doc.AddDocToList(targetDataDoc, annotationKey ?? this.annotationKey, doc); doc.context = this.props.Document; if (annotationKey ?? this._annotationKey) Doc.GetProto(doc).annotationOn = this.props.Document; + this.props.layerProvider?.(doc, true); + Doc.AddDocToList(targetDataDoc, annotationKey ?? this.annotationKey, doc); }); } else { |