diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-29 16:39:17 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-29 16:39:17 -0400 |
| commit | 4f3c8cfab12f1c5fff27faa0998a286d210148d2 (patch) | |
| tree | bd3945a93693947599dbe9eaf60b5f5852e514d1 /src/client/util/CurrentUserUtils.ts | |
| parent | f5a9d196a96f9a81436fa8de8659eaa51a131d81 (diff) | |
major restructure of how addDocTabs works. now you can add/replace with options for left/right/top/bottom and specific panel names
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
| -rw-r--r-- | src/client/util/CurrentUserUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts index 7937072da..20f8fe9c1 100644 --- a/src/client/util/CurrentUserUtils.ts +++ b/src/client/util/CurrentUserUtils.ts @@ -1063,7 +1063,7 @@ export class CurrentUserUtils { Scripting.addGlobal(function openDragFactory(dragFactory: Doc) { const copy = Doc.copyDragFactory(dragFactory); if (copy) { - CollectionDockingView.AddRightSplit(copy); + CollectionDockingView.AddSplit(copy, "right"); const view = DocumentManager.Instance.getFirstDocumentView(copy); view && SelectionManager.SelectDoc(view, false); } |
