diff options
author | bobzel <zzzman@gmail.com> | 2021-03-30 20:55:48 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-03-30 20:55:48 -0400 |
commit | 8b92374feed3152cf4eaf4e82735897565d8b2dc (patch) | |
tree | 8a6b5cb7faf057f00418f44b222f4e6ea7fcc447 /src/client/util/DocumentManager.ts | |
parent | b14d30c0a3dee908d7a288f9894e5fff23af3652 (diff) |
some code cleanup. Fixes for webbox and pdfbox to allow draggin out of annotation sidebar.
Diffstat (limited to 'src/client/util/DocumentManager.ts')
-rw-r--r-- | src/client/util/DocumentManager.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/util/DocumentManager.ts b/src/client/util/DocumentManager.ts index 8b37c9a6e..304215a8f 100644 --- a/src/client/util/DocumentManager.ts +++ b/src/client/util/DocumentManager.ts @@ -208,7 +208,6 @@ export class DocumentManager { // we didn't find the target, so it must have moved out of the context. Go back to just creating it. if (closeContextIfNotFound) targetDocContextView.props.removeDocument?.(targetDocContextView.rootDoc); if (targetDoc.layout) { // there will no layout for a TEXTANCHOR type document - // Doc.SetInPlace(targetDoc, "annotationOn", undefined, false); createViewFunc(Doc.BrushDoc(targetDoc), finished); // create a new view of the target } } else { |