diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-07-22 20:16:53 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-07-22 20:16:53 -0400 |
commit | 8f95d52ed2b93930716ab6ed0ba9aab5c438876c (patch) | |
tree | d41bec1ac0d4cbdbf670c5dd12caf38f868e8367 /src/client/views/PreviewCursor.tsx | |
parent | 828a28e112db3357f52d3923987070129fd64b21 (diff) |
fixed document download/import to capture links as well.
Diffstat (limited to 'src/client/views/PreviewCursor.tsx')
-rw-r--r-- | src/client/views/PreviewCursor.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PreviewCursor.tsx b/src/client/views/PreviewCursor.tsx index 2d51403d7..b4116e980 100644 --- a/src/client/views/PreviewCursor.tsx +++ b/src/client/views/PreviewCursor.tsx @@ -73,7 +73,7 @@ export class PreviewCursor extends React.Component<{}> { count++; if (doc instanceof Doc) { i === 1 && (first = doc); - const alias = clone ? await Doc.MakeClone(doc) : doc; + const alias = clone ? (await Doc.MakeClone(doc)).clone : doc; const deltaX = NumCast(doc.x) - NumCast(first!.x) - ptx; const deltaY = NumCast(doc.y) - NumCast(first!.y) - pty; alias.x = newPoint[0] + deltaX; |