mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Fix colour/color type and add set_letter for single char msg
This commit is contained in:
@@ -232,7 +232,7 @@ module.exports = function(RED) {
|
||||
HAT.close(this,done);
|
||||
});
|
||||
var handleTextMessage = function(line,msg) {
|
||||
var textCol = colours.getRGB(msg.color);
|
||||
var textCol = colours.getRGB(msg.color||msg.colour);
|
||||
var backCol = colours.getRGB(msg.background);
|
||||
var speed = null;
|
||||
if (!isNaN(msg.speed)) {
|
||||
|
||||
Reference in New Issue
Block a user