This commit is contained in:
tamat
2018-11-21 19:11:21 +01:00
3 changed files with 80 additions and 78 deletions

View File

@@ -5840,6 +5840,7 @@ LGraphCanvas.prototype.drawConnections = function(ctx)
var start_slot = start_node.outputs[start_node_slot];
var end_slot = node.inputs[i];
if(!start_slot || !end_slot) continue;
var start_dir = start_slot.dir || (start_node.flags.horizontal ? LiteGraph.DOWN : LiteGraph.RIGHT);
var end_dir = end_slot.dir || (node.flags.horizontal ? LiteGraph.UP : LiteGraph.LEFT);