diff options
| author | bobzel <zzzman@gmail.com> | 2023-03-24 23:18:44 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-03-24 23:18:44 -0400 |
| commit | fd71eb1a130058207b45cc6a1da0dbd97f6dd4f1 (patch) | |
| tree | 631592149de2718591fd549b597c11113cd6a7a7 /src/client/util | |
| parent | 71f8f420ab5755bac8814ff3f5a96f2f01856b2d (diff) | |
fixed showing keyValueBox when document opacity is 0 or it is hidden. fixed toggling link targets. fixed sorting and undoing schema view changes.
Diffstat (limited to 'src/client/util')
| -rw-r--r-- | src/client/util/DocumentManager.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/DocumentManager.ts b/src/client/util/DocumentManager.ts index 947613801..ccf370662 100644 --- a/src/client/util/DocumentManager.ts +++ b/src/client/util/DocumentManager.ts @@ -262,6 +262,7 @@ export class DocumentManager { finished?: () => void ) => { const docContextPath = DocumentManager.GetContextPath(targetDoc, true); + if (docContextPath.some(doc => doc.hidden)) options.toggleTarget = false; let rootContextView = await new Promise<DocumentView>(res => { const viewIndex = docContextPath.findIndex(doc => this.getDocumentView(doc)); if (viewIndex !== -1) return res(this.getDocumentView(docContextPath[viewIndex])!); |
