Skip to content

Commit 7450c34

Browse files
committed
regard same symbol as upper
1 parent 13cb9b5 commit 7450c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flowchart.symbol.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Symbol.prototype.drawLineTo = function(symbol, text, origin) {
239239
var isOnSameColumn = x === symbolX,
240240
isOnSameLine = y === symbolY,
241241
isUnder = y < symbolY,
242-
isUpper = y > symbolY,
242+
isUpper = y > symbolY || this === symbol,
243243
isLeft = x > symbolX,
244244
isRight = x < symbolX;
245245

0 commit comments

Comments
 (0)