aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-31 00:53:33 -0400
committerbobzel <zzzman@gmail.com>2021-03-31 00:53:33 -0400
commita81ea10f34369f3e36a52badd3a472fa1742cb29 (patch)
tree19ae50c4e7379504f74e5f30dd9a446fb9a4e159 /src/client/views/collections/collectionFreeForm
parent3172a475102691c720b7e7d0b696814237855914 (diff)
trying to cleanup control of displaying linkButtons in tree views.
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 => {