diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-23 17:40:18 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-23 17:40:18 -0400 |
| commit | 7b081d6f4d73811b280c1c4a6b931ef318427610 (patch) | |
| tree | e3765e3b0119bb0f9d76c02c34323b2d38456ea9 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | f504934782b6458585148e3412b5fef975515931 (diff) | |
fixed start/end link for text selections on start link. fixed display of link target from link text hyperlink
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 206d04cf7..1cf06be3e 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -591,7 +591,10 @@ export class CollectionFreeFormView extends CollectionSubView<PanZoomDocument, P onClick = (e: React.MouseEvent) => { if (this.layoutDoc.targetScale && (Math.abs(e.pageX - this._downX) < 3 && Math.abs(e.pageY - this._downY) < 3)) { if (Date.now() - this._lastTap < 300) { - runInAction(() => DocumentLinksButton.StartLink = undefined); + runInAction(() => { + DocumentLinksButton.StartLink = undefined; + DocumentLinksButton.StartLinkView = undefined; + }); const docpt = this.getTransform().transformPoint(e.clientX, e.clientY); this.scaleAtPt(docpt, 1); e.stopPropagation(); |
