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:
Kazuhito Yokoi
2018-09-09 06:41:38 +09:00
committed by Nick O'Leary
parent ca77842b5b
commit 048f9c0294
2 changed files with 6 additions and 1 deletions

View File

@@ -826,7 +826,11 @@ RED.utils = (function() {
}
result = nodeColorCache[type];
}
return result;
if (result) {
return result;
} else {
return "#ddd";
}
}
function addSpinnerOverlay(container,contain) {