aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DocumentManager.ts
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-07-28 23:48:12 +0800
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-07-28 23:48:12 +0800
commitbdb52eb3090cae3f146a6777f18d53f54d1e1d0f (patch)
tree1b46c52fc79c34901e0a4073629896725f807653 /src/client/util/DocumentManager.ts
parentbbdfacd4f748ac1bb0e175aa32b593e2159c6843 (diff)
scrollProgressivize + viewfinder
Diffstat (limited to 'src/client/util/DocumentManager.ts')
-rw-r--r--src/client/util/DocumentManager.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/util/DocumentManager.ts b/src/client/util/DocumentManager.ts
index 237ea7675..d18eac374 100644
--- a/src/client/util/DocumentManager.ts
+++ b/src/client/util/DocumentManager.ts
@@ -127,6 +127,10 @@ export class DocumentManager {
CollectionDockingView.AddRightSplit(doc);
finished?.();
}
+ // static openInPlace = (doc: Doc, finished?: () => void) => {
+ // CollectionDockingView.AddTab(doc);
+ // finished?.();
+ // }
public jumpToDocument = async (
targetDoc: Doc, // document to display
willZoom: boolean, // whether to zoom doc to take up most of screen