more fixes
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user