diff options
author | bobzel <zzzman@gmail.com> | 2020-12-16 12:02:52 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-12-16 12:02:52 -0500 |
commit | 0426828be40e077a2d5d30597076db53a26bb81f (patch) | |
tree | 208735868f37c041e3298a87eb1984633ea93738 /src/client/util/CurrentUserUtils.ts | |
parent | f54dd2851a1dd99157a4047d7d17d0c40178d30e (diff) |
fixed treeView layouts to pass good values for panelWidth/height to DocumentView. renamed Selectionmanager methods to be views not documents.
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 82750bd53..00ee0f4b9 100644 --- a/src/client/util/CurrentUserUtils.ts +++ b/src/client/util/CurrentUserUtils.ts @@ -1203,7 +1203,7 @@ Scripting.addGlobal(function openDragFactory(dragFactory: Doc) { if (copy) { CollectionDockingView.AddSplit(copy, "right"); const view = DocumentManager.Instance.getFirstDocumentView(copy); - view && SelectionManager.SelectDoc(view, false); + view && SelectionManager.SelectView(view, false); } }); Scripting.addGlobal(function snapshotDashboard() { CurrentUserUtils.snapshotDashboard(Doc.UserDoc()); }, |