diff options
| author | monoguitari <113245090+monoguitari@users.noreply.github.com> | 2023-08-24 00:21:42 -0400 |
|---|---|---|
| committer | monoguitari <113245090+monoguitari@users.noreply.github.com> | 2023-08-24 00:21:42 -0400 |
| commit | dd818efee16f554662500aaaee3d11adeb4bf64d (patch) | |
| tree | e22523e6556750871ee236d1f2ace1e46a2a72a1 /src/client/views/nodes/trails/PresBox.tsx | |
| parent | aab4148a23a6505f103564fff305ac4c97b64479 (diff) | |
Current Implementation topbar video
Diffstat (limited to 'src/client/views/nodes/trails/PresBox.tsx')
| -rw-r--r-- | src/client/views/nodes/trails/PresBox.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx index ee85287ed..b9585b132 100644 --- a/src/client/views/nodes/trails/PresBox.tsx +++ b/src/client/views/nodes/trails/PresBox.tsx @@ -702,6 +702,15 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps>() { pinDoc.config_viewBounds = new List<number>([bounds.left, bounds.top, bounds.left + bounds.width, bounds.top + bounds.height]); } } + + @action + static reversePin(pinDoc: Doc, targetDoc: Doc) { + // const fkey = Doc.LayoutFieldKey(targetDoc); + pinDoc.config_data = targetDoc.data; + + console.log(pinDoc.presData); + } + /** * This method makes sure that cursor navigates to the element that * has the option open and last in the group. |
