diff options
author | bobzel <zzzman@gmail.com> | 2021-02-14 18:29:00 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-02-14 18:29:00 -0500 |
commit | 6fcef3d8dfdbe373724d2f11c9df8f350bd8950c (patch) | |
tree | e3ac92a411512e56626a23e21beb3f8a392de367 /src/client/views/nodes/CollectionFreeFormDocumentView.tsx | |
parent | 26bbd3a593e6f51ec3665e124e66ed8030ab98df (diff) |
fixes to focus()'s api and extension to allow focusing on a Tab's contents.
Diffstat (limited to 'src/client/views/nodes/CollectionFreeFormDocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/CollectionFreeFormDocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx index 4b0422ed3..e93d7ff72 100644 --- a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx +++ b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx @@ -153,7 +153,7 @@ export class CollectionFreeFormDocumentView extends DocComponent<CollectionFreeF panelWidth = () => (this.sizeProvider?.width || this.props.PanelWidth?.()); panelHeight = () => (this.sizeProvider?.height || this.props.PanelHeight?.()); screenToLocalTransform = (): Transform => this.props.ScreenToLocalTransform().translate(-this.X, -this.Y); - focusDoc = (doc: Doc) => this.props.focus(doc, false); + focusDoc = (doc: Doc) => this.props.focus(doc); returnThis = () => this; render() { TraceMobx(); |