ensure core node labels are italic when named (#1498)

This commit is contained in:
Dave Conway-Jones
2017-12-06 22:47:13 +00:00
committed by Nick O'Leary
parent 5e128f89f6
commit 256e5360d4
3 changed files with 9 additions and 0 deletions

View File

@@ -70,6 +70,9 @@
label: function() {
return this.name;
},
labelStyle: function() {
return this.name?"node_label_italic":"";
},
oneditprepare: function() {
var that = this;
$( "#node-input-outputs" ).spinner({