diff options
| author | bobzel <zzzman@gmail.com> | 2021-02-17 11:30:42 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-02-17 11:30:42 -0500 |
| commit | 90fd1a4c16f5e3875b1ac8f7c78a363b39215a92 (patch) | |
| tree | 92d33658bee6320bb33fbde2edaa480c9023c47a /src/client/views/collections/collectionFreeForm | |
| parent | 1a31f3ae5d1b90deb9888bb4df863079f4837f53 (diff) | |
improved fileSysMode for treeView. added dontUndo flag
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/MarqueeView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx index 21c9711b3..f5a60effe 100644 --- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx +++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx @@ -135,7 +135,7 @@ export class MarqueeView extends React.Component<SubCollectionViewProps & Marque } else if (e.key === "f" && e.ctrlKey) { e.preventDefault(); const root = Docs.Create.FreeformDocument([], { title: "folder", _stayInCollection: true, system: true, isFolder: true }); - const folder = Docs.Create.TreeDocument([root], { title: "root", isFolder: true, treeViewType: "fileSystem" }); + 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; |
