From 3da71792a339536118b7af7cfe0529201a45c64e Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Mon, 29 Apr 2019 15:43:27 -0400 Subject: fixed unminimizing --- src/client/views/nodes/CollectionFreeFormDocumentView.tsx | 1 + src/client/views/nodes/DocumentView.tsx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx index a3a82036d..bad78cbd5 100644 --- a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx +++ b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx @@ -134,6 +134,7 @@ export class CollectionFreeFormDocumentView extends React.Component { this._downX = e.clientX; this._downY = e.clientY; + e.stopPropagation(); } onClick = (e: React.MouseEvent): void => { e.stopPropagation(); diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 6dddab600..e8e4e8d3f 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -181,7 +181,6 @@ export class DocumentView extends React.Component { document.removeEventListener("pointerup", this.onPointerUp); document.addEventListener("pointerup", this.onPointerUp); e.preventDefault(); - e.stopPropagation(); } } onPointerMove = (e: PointerEvent): void => { -- cgit v1.2.3-70-g09d2 From 041286093aef2e1f5a2b503959146124f292cc2b Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Mon, 29 Apr 2019 21:11:32 -0400 Subject: fixed linking button --- src/client/views/DocumentDecorations.scss | 2 +- src/client/views/DocumentDecorations.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/views/DocumentDecorations.scss b/src/client/views/DocumentDecorations.scss index 27b94e6d2..0dfa6f0ff 100644 --- a/src/client/views/DocumentDecorations.scss +++ b/src/client/views/DocumentDecorations.scss @@ -135,7 +135,7 @@ grid-column: 1/4; } -.linkButton-empty { +.linkButton-empty, .linkButton-nonempty { height: 20px; width: 20px; border-radius: 50%; diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 18449ed32..de17e1aef 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -496,7 +496,9 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> anchorPoint={anchorPoints.RIGHT_TOP} content={}> -
{linkCount}
+
{linkCount}
); } -- cgit v1.2.3-70-g09d2