mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix node color bug (#1877)
* Fix node color bug * Add color property into sample node * Revert view.js * Add color handling into getNodeColor()
This commit is contained in:
committed by
Nick O'Leary
parent
ca77842b5b
commit
048f9c0294
@@ -67,6 +67,7 @@
|
||||
},
|
||||
inputs:1, // set the number of inputs - only 0 or 1
|
||||
outputs:1, // set the number of outputs - 0 to n
|
||||
color: "#ddd", // set icon color
|
||||
// set the icon (held in icons dir below where you save the node)
|
||||
icon: "myicon.png", // saved in icons/myicon.png
|
||||
label: function() { // sets the default label contents
|
||||
|
Reference in New Issue
Block a user