diff options
author | bobzel <zzzman@gmail.com> | 2020-10-07 10:42:19 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-10-07 10:42:19 -0400 |
commit | c8cb8b63764bba4a1d885745f53ee43ae78c2d46 (patch) | |
tree | 49f15a471f56f1b5c3295709d3b55653a98d49f0 /src/client/views/nodes/DocumentView.tsx | |
parent | e32312a409673a23eb4af82ef33f41f8bf226292 (diff) |
fixed portals to zoom in place. fixed following links to not focus on context if starting anchor is in the same context. maded pushpins call finished()
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index ddcf7f6f4..369b53aa0 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -740,6 +740,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu const portal = Docs.Create.FreeformDocument([], { _width: NumCast(this.layoutDoc._width) + 10, _height: NumCast(this.layoutDoc._height), title: StrCast(this.props.Document.title) + ".portal" }); DocUtils.MakeLink({ doc: this.props.Document }, { doc: portal }, "portal to"); } + this.Document.followLinkLocation = "inPlace"; this.Document.followLinkZoom = true; this.Document.isLinkButton = true; } |