diff options
| author | bobzel <zzzman@gmail.com> | 2023-11-12 14:34:09 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-11-12 14:34:09 -0500 |
| commit | 7fcf4c54c42b7eaa427ea88c0b8586a78d7f1859 (patch) | |
| tree | fb049b6364456e3b70c325c59efcee00c64d5557 /src/client/views/nodes | |
| parent | fb4521e4275248ba463164e40aaaed04df65b050 (diff) | |
cleaning up freeformview code.
Diffstat (limited to 'src/client/views/nodes')
| -rw-r--r-- | src/client/views/nodes/LinkBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/LinkBox.tsx b/src/client/views/nodes/LinkBox.tsx index a4dd5e7ef..034eb4011 100644 --- a/src/client/views/nodes/LinkBox.tsx +++ b/src/client/views/nodes/LinkBox.tsx @@ -62,7 +62,7 @@ export class LinkBox extends ViewBoxBaseComponent<FieldViewProps>() { const b = (this.anchor2 ?? this.anchor1)!; const parxf = this.props.docViewPath()[this.props.docViewPath().length - 2].ComponentView as CollectionFreeFormView; - const this_xf = parxf?.getTransform() ?? Transform.Identity; //this.props.ScreenToLocalTransform(); + const this_xf = parxf?.screenToLocalXf ?? Transform.Identity; //this.props.ScreenToLocalTransform(); const a_invXf = a.props.ScreenToLocalTransform().inverse(); const b_invXf = b.props.ScreenToLocalTransform().inverse(); const a_scrBds = { tl: a_invXf.transformPoint(0, 0), br: a_invXf.transformPoint(NumCast(a.rootDoc._width), NumCast(a.rootDoc._height)) }; |
