diff options
author | bobzel <zzzman@gmail.com> | 2020-09-20 17:20:38 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-20 17:20:38 -0400 |
commit | f87037b13e0c97d1c9383ac023c8358963a58cff (patch) | |
tree | a6eb1319a904180d42f60c8816bd7494702e76da /src | |
parent | b9735a34252459ee7f09bb58a49cc3da7a652ab7 (diff) |
fixed slide not setting focus on first bullet point after hitting enter.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index 46f18099a..e61b9624a 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -121,7 +121,6 @@ export class CollectionTreeView extends CollectionSubView<Document, Partial<coll const bullet = TreeView.makeTextBullet(); bullet.context = this.doc; this.addDoc(bullet, childDocs.length ? childDocs[0] : undefined, true); - setTimeout(() => RichTextMenu.Instance.TextView?.EditorView?.focus(), 150); }); editableTitle = (childDocs: Doc[]) => { |