diff options
author | bob <bcz@cs.brown.edu> | 2019-04-30 15:21:20 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-04-30 15:21:20 -0400 |
commit | 7261d69c9e9dcdbcc413eff062eb01de2032f9ef (patch) | |
tree | 49024cac0988dea40a22f7a47202659a8ee2776e /src/client/views/DocumentDecorations.tsx | |
parent | 37062ef8b33efebd9fafcd2c076d5cb49f5a288f (diff) |
fixed link lines
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 8632286ab..1dc7c8394 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -268,7 +268,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> minDocs.map(minDoc => { minDoc.x = NumCast(minDocs[0].x); minDoc.y = NumCast(minDocs[0].y); - minDoc.linkTags = new List(minDocs); + minDoc.linkTags = new List(minDocs.filter(d => d != minDoc)); if (this._iconifying && selectedDocs[0].props.removeDocument) { selectedDocs[0].props.removeDocument(minDoc); (minDoc.maximizedDoc as Doc).minimizedDoc = undefined; |