Add link label value as portLabels

This commit is contained in:
Dave Conway-Jones 2017-03-02 23:12:06 +00:00
parent 6cf53c611b
commit c4554b71d3
1 changed files with 8 additions and 2 deletions

View File

@ -280,6 +280,9 @@
inputs:0,
outputs:1,
icon: "link-out.png",
outputLabels: function(i) {
return this.name||this._("link.linkIn");
},
label: function() {
return this.name||this._("link.linkIn");
},
@ -307,6 +310,9 @@
inputs:1,
outputs:0,
icon: "link-out.png",
inputLabels: function(i) {
return this.name||this._("link.linkOut");
},
label: function() {
return this.name||this._("link.linkOut");
},