aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-10-07 09:43:19 -0400
committerbobzel <zzzman@gmail.com>2021-10-07 09:43:19 -0400
commit8f1a6266cf0a728ab2b7df11d45a023de266fae4 (patch)
treea2f9722abc1132a7af8428c8a7992794c9417719 /src/client/documents/Documents.ts
parent43496b4cd19a06d2682f2416a4273e25cdcb55a0 (diff)
link menu ui tweaking. edge case checks for linkrelationship stuff. default links to have linkAutoMove
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 6d64b3286..da5c8efa9 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -191,6 +191,7 @@ export class DocumentOptions {
opacity?: number;
defaultBackgroundColor?: string;
_isLinkButton?: boolean; // marks a document as a button that will follow its primary link when clicked
+ _linkAutoMove?: boolean; // whether link endpoint should move around the edges of a document to make shortest path to other link endpoint
isFolder?: boolean;
lastFrame?: number; // the last frame of a frame-based collection (e.g., progressive slide)
activeFrame?: number; // the active frame of a document in a frame base collection
@@ -1106,6 +1107,7 @@ export namespace DocUtils {
"_acl-Public": SharingPermissions.Augment,
linkDisplay: true,
_hidden: true,
+ _linkAutoMove: true,
linkRelationship,
_showCaption: "description",
_showTitle: "linkRelationship",