aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-06-23 18:57:47 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-06-23 18:57:47 -0400
commit5e559aa308102d7dd11adb7ed8c07d6c4b4c092b (patch)
tree0e9c5dd322ddb13d9ac5eb0ad7584f18cfb15bdc /src/client/documents/Documents.ts
parentaf9c9119b5de6ffbca5bc1756e1c1d8fb012a1b3 (diff)
fixed coloring links
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index dac3a1aaa..ceacd3630 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -624,8 +624,8 @@ export namespace Docs {
export function LinkDocument(source: { doc: Doc, ctx?: Doc }, target: { doc: Doc, ctx?: Doc }, options: DocumentOptions = {}, id?: string) {
const doc = InstanceFromProto(Prototypes.get(DocumentType.LINK), undefined, {
- isLinkButton: true, treeViewHideTitle: true, treeViewOpen: false,
- removeDropProperties: new List(["isBackground", "isLinkButton"]), ...options
+ isLinkButton: true, treeViewHideTitle: true, treeViewOpen: false, backgroundColor: "lightBlue", // lightBlue is default color for linking dot and link documents text comment area
+ removeDropProperties: new List(["isBackground", "isLinkButton", "_backgroundColor"]), ...options
}, id);
const linkDocProto = Doc.GetProto(doc);
linkDocProto.anchor1 = source.doc;