New typescript (#2597)

* Upgrading TypeScript for new monaco

* Bump pxt

* Bumping pxt again

* Bumping PXT again
This commit is contained in:
Richard Knoll
2020-02-04 16:44:46 -08:00
committed by GitHub
parent 8278292e06
commit 0995238b21
3 changed files with 10 additions and 11 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