more fixes

This commit is contained in:
Peli
2020-02-04 16:58:12 -08:00
parent 7e7414ad4e
commit f53010763a
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ namespace pxsim.visuals {
this.canvas.appendChild(pixel.el);
}
let color = colors[i];
pixel.setRgb(color);
pixel.setRgb([color[0], color[1], color[2]]);
}
//show the canvas if it's hidden