1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix direction value of subflow output

This commit is contained in:
Kazuhito Yokoi 2019-02-05 16:27:02 +09:00 committed by GitHub
parent 4de1056d82
commit f1a5e8a42c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -643,7 +643,7 @@ RED.subflow = (function() {
}}), }}),
out: candidateOutputs.map(function(v,i) { var index = i; return { out: candidateOutputs.map(function(v,i) { var index = i; return {
type:"subflow", type:"subflow",
direction:"in", direction:"out",
x:snapToGrid(v.source.x+(v.source.w/2)+80 - offsetX), x:snapToGrid(v.source.x+(v.source.w/2)+80 - offsetX),
y:snapToGrid(v.source.y - offsetY), y:snapToGrid(v.source.y - offsetY),
z:subflowId, z:subflowId,