aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2021-03-31 18:12:57 -0400
committerusodhi <61431818+usodhi@users.noreply.github.com>2021-03-31 18:12:57 -0400
commit6eedfd692f88feed74029e4da8bf8a938b992621 (patch)
treed72fab986d034b28e505244f47e806d12b5c9694 /src/client/views/collections/collectionFreeForm
parent3a17df4daf6cd84afe8ee69b0f7b263f830566d7 (diff)
parentc6a52b36cefd2692040c58474b9a0bcc32eda4b6 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into sharing_scenario
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
-rw-r--r--src/client/views/collections/collectionFreeForm/MarqueeView.tsx12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
index c6d77358f..d14b68fa7 100644
--- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
+++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
@@ -132,18 +132,6 @@ export class MarqueeView extends React.Component<SubCollectionViewProps & Marque
});
})();
e.stopPropagation();
- } else if (e.key === "f" && e.ctrlKey) {
- e.preventDefault();
- const root = Docs.Create.TreeDocument([], { title: "folder", _stayInCollection: true, isFolder: true });
- const folder = Docs.Create.TreeDocument([root], { title: "root", isFolder: true, treeViewType: "fileSystem", treeViewTruncateTitleWidth: 150 });
- Doc.GetProto(folder).isFolder = true;
- folder.x = x;
- folder.y = y;
- folder._width = 200;
- folder._height = 300;
- this.props.addDocument?.(folder);
- //setTimeout(() => SelectionManager.SelectDoc(DocumentManager.Instance.getDocumentView(slide)!, false));
- e.stopPropagation();
} else if (e.key === "b" && e.ctrlKey) {
// e.preventDefault();
// navigator.clipboard.readText().then(text => {