diff options
| author | bob <bcz@cs.brown.edu> | 2020-02-21 12:09:54 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2020-02-21 12:09:54 -0500 |
| commit | ee80ef34d8a9354c2bfbbf4b4c233832f2ea5e26 (patch) | |
| tree | a4f9bf3dab0abc7a03ad4161aeb2a31c3ee0ef46 /src/client/views/collections | |
| parent | 8274233572d5ff299e13868c86bd2436f4c276fc (diff) | |
made double-click link editing for link anchors.
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx index f0c706c1e..1038347d4 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLinkView.tsx @@ -95,7 +95,7 @@ export class CollectionFreeFormLinkView extends React.Component<CollectionFreeFo const pt2 = [bpt.point.x, bpt.point.y]; const aActive = this.props.A.isSelected() || Doc.IsBrushed(this.props.A.props.Document); const bActive = this.props.A.isSelected() || Doc.IsBrushed(this.props.A.props.Document); - const text = StrCast(this.props.A.props.Document.title); + const text = StrCast(this.props.A.props.Document.linkRelationship); return !aActive && !bActive ? (null) : (<> <text x={(pt1[0] + pt2[0]) / 2} y={(pt1[1] + pt2[1]) / 2}> {text !== "-ungrouped-" ? text : ""} |
