Merge branch 'master' into max6675
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "pxt-microbit",
 | 
			
		||||
  "version": "0.3.69",
 | 
			
		||||
  "version": "0.3.71",
 | 
			
		||||
  "description": "micro:bit target for PXT",
 | 
			
		||||
  "keywords": [
 | 
			
		||||
    "JavaScript",
 | 
			
		||||
@@ -29,6 +29,6 @@
 | 
			
		||||
    "typescript": "^1.8.7"
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "pxt-core": "0.3.79"
 | 
			
		||||
    "pxt-core": "0.3.81"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -172,11 +172,11 @@ namespace pxsim.visuals {
 | 
			
		||||
                if (!pixel) {
 | 
			
		||||
                    let cxy: Coord = [0, CANVAS_VIEW_PADDING + i * PIXEL_SPACING];
 | 
			
		||||
                    pixel = this.pixels[i] = new NeoPixel(cxy);
 | 
			
		||||
                    svg.hydrate(pixel.el, { title: `offset: ${i}` });
 | 
			
		||||
                    this.canvas.appendChild(pixel.el);
 | 
			
		||||
                }
 | 
			
		||||
                let color = colors[i];
 | 
			
		||||
                pixel.setRgb(color);
 | 
			
		||||
                svg.hydrate(pixel.el, { title: `offset: ${i}` });
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            //show the canvas if it's hidden
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user