mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 21:16:00 +00:00
overlaps
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
y: (targetRect.top + targetRect.bottom) / 2,
|
||||
};
|
||||
|
||||
arrowPt = intersectLineBox(src, dst, targetRect);
|
||||
arrowPt = intersectLineBox(src, dst, targetRect)[0];
|
||||
arrowAngle = Math.atan2(dst.y - src.y, dst.x - src.x);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user