in fieldeditors/field_lights.ts [143:163]
render_() {
if (!this.visible_) {
this.size_.width = 0;
return;
}
if (!this.neopixels_) this.initRing();
const colors = this.getValue().replace(/["`']/g, "").split(/\s+/) || [];
for (let i = 0; i < FieldLights.NUM_PIXELS; i++) {
const neopixel = this.neopixels_[i];
let c = colors[i] || "0xff";
if (c == 'black' || c == '0')
c = 'grey';
pxsim.svg.fill(neopixel, c)
neopixel.setAttribute("data-color", colors[i] || "0xff");
}
this.size_.height = Number(FieldLights.imageHeight) + 19;
this.size_.width = Number(FieldLights.imageWidth);
}