diff options
author | srichman333 <sarah_n_richman@brown.edu> | 2023-07-17 15:07:28 -0400 |
---|---|---|
committer | srichman333 <sarah_n_richman@brown.edu> | 2023-07-17 15:07:28 -0400 |
commit | 56c2063deb32302b58044181c9f3248da409bf13 (patch) | |
tree | 86ff74785b11b85f79c37853d143ed436854f598 /src/client/util/LinkFollower.ts | |
parent | 84b3012d81b403c4a2a7e7517f4fdfe727464a57 (diff) | |
parent | 54547a9e69726bbacf545296d84723f902ec7097 (diff) |
Merge branch 'master' into data-visualization-sarah
Diffstat (limited to 'src/client/util/LinkFollower.ts')
-rw-r--r-- | src/client/util/LinkFollower.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/LinkFollower.ts b/src/client/util/LinkFollower.ts index f74409e42..3e526c4c0 100644 --- a/src/client/util/LinkFollower.ts +++ b/src/client/util/LinkFollower.ts @@ -103,7 +103,7 @@ export class LinkFollower { Doc.AddDocToList(sourceDocParent, Doc.LayoutFieldKey(sourceDocParent), target); movedTarget = true; } - target.embedContainer = sourceDocParent; + Doc.SetContainer(target, sourceDocParent); const moveTo = [NumCast(sourceDoc.x) + NumCast(sourceDoc.followLinkXoffset), NumCast(sourceDoc.y) + NumCast(sourceDoc.followLinkYoffset)]; if (sourceDoc.followLinkXoffset !== undefined && moveTo[0] !== target.x) { target.x = moveTo[0]; |