diff options
author | bobzel <zzzman@gmail.com> | 2024-03-13 09:43:06 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-03-13 09:43:06 -0400 |
commit | 836703c11b6e327286ef6611af35759b8c76695e (patch) | |
tree | 71bdecebae53027fbe18f067be46d9eb662d4387 /src/client/views/nodes/LinkBox.tsx | |
parent | a8119d13d78a12c4b3178510b8648168a870b53d (diff) | |
parent | 641220e9cd9626af182118f84f8f775d7638cc67 (diff) |
Merge branch 'master' into info-ui-observable
Diffstat (limited to 'src/client/views/nodes/LinkBox.tsx')
-rw-r--r-- | src/client/views/nodes/LinkBox.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/nodes/LinkBox.tsx b/src/client/views/nodes/LinkBox.tsx index decdbb240..6e4d0e92a 100644 --- a/src/client/views/nodes/LinkBox.tsx +++ b/src/client/views/nodes/LinkBox.tsx @@ -2,7 +2,7 @@ import { action, computed, IReactionDisposer, makeObservable, observable, reacti import { observer } from 'mobx-react'; import * as React from 'react'; import Xarrow from 'react-xarrows'; -import { DocData } from '../../../fields/DocSymbols'; +import { DocCss, DocData } from '../../../fields/DocSymbols'; import { Id } from '../../../fields/FieldSymbols'; import { DocCast, NumCast, StrCast } from '../../../fields/Types'; import { DashColor, emptyFunction, lightOrDark, returnFalse } from '../../../Utils'; @@ -83,6 +83,8 @@ export class LinkBox extends ViewBoxBaseComponent<FieldViewProps>() { b.Document[b.LayoutFieldKey]; a.Document.layout_scrollTop; b.Document.layout_scrollTop; + a.Document[DocCss]; + b.Document[DocCss]; const axf = a.screenToViewTransform(); // these force re-render when a or b moves (so do NOT remove) const bxf = b.screenToViewTransform(); |