Skip to content

Commit e808e59

Browse files
committed
Merge pull request #83 from nonylene/master
Allow going to same symbol
2 parents 13cb9b5 + 7450c34 commit e808e59

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)