diff options
author | bobzel <zzzman@gmail.com> | 2020-09-01 03:58:41 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-01 03:58:41 -0400 |
commit | a4555fb8d5cd64482dd8431aad03878cb173f688 (patch) | |
tree | 6ba1302ec929e9545adea7201eac057bcf8f14ae /src/client/util | |
parent | 96e12a1d34b617ae7d047fa0215a2eec9ad85a61 (diff) |
fixed following link to a doc that is in a hidden tab to show that tab. fixed linear view to hit content bounds accurately. fixed editing of text in tabs somewhat. fixed place ment of link anchor boxes for topMost views.
Diffstat (limited to 'src/client/util')
-rw-r--r-- | src/client/util/DocumentManager.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/util/DocumentManager.ts b/src/client/util/DocumentManager.ts index f085f615c..9e55c5a44 100644 --- a/src/client/util/DocumentManager.ts +++ b/src/client/util/DocumentManager.ts @@ -160,6 +160,8 @@ export class DocumentManager { docView.props.Document.hidden = !docView.props.Document.hidden; } else { + const contView = docContext && getFirstDocView(docContext, originatingDoc); + contView && contView.topMost && contView.select(false); docView.select(false); docView.props.Document.hidden && (docView.props.Document.hidden = undefined); docView.props.focus(docView.props.Document, willZoom, undefined, focusAndFinish); |