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

@@ -114,6 +114,9 @@
label: function() {
return this.name||"switch";
},
labelStyle: function() {
return this.name?"node_label_italic":"";
},
oneditprepare: function() {
var node = this;
var previousValueType = {value:"prev",label:this._("inject.previous"),hasValue:false};