mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-30 05:42:00 -08:00
update zero case
This commit is contained in:
parent
6d1b35b8c4
commit
b140d71a42
|
@ -182,7 +182,7 @@
|
|||
|
||||
const diffX = paintInfo.endStubX - paintInfo.startStubX;
|
||||
const diffY = paintInfo.endStubY - paintInfo.startStubY;
|
||||
const direction = diffY > 0 ? 1 : -1;
|
||||
const direction = diffY >= 0 ? 1 : -1;
|
||||
|
||||
var midx = paintInfo.startStubX + ((paintInfo.endStubX - paintInfo.startStubX) * midpoint),
|
||||
midy;
|
||||
|
|
Loading…
Reference in a new issue