more fixes
This commit is contained in:
parent
7e7414ad4e
commit
f53010763a
@ -9,7 +9,7 @@
|
|||||||
"newLine": "LF",
|
"newLine": "LF",
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
"lib": ["dom", "dom.iterable", "scripthost", "es6"],
|
"lib": ["dom", "dom.iterable", "scripthost", "es6"],
|
||||||
"types": ["jquery", "bluebird"],
|
"types": ["bluebird"],
|
||||||
"typeRoots": ["../node_modules/@types"]
|
"typeRoots": ["../node_modules/@types"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -128,7 +128,7 @@ namespace pxsim.visuals {
|
|||||||
this.canvas.appendChild(pixel.el);
|
this.canvas.appendChild(pixel.el);
|
||||||
}
|
}
|
||||||
let color = colors[i];
|
let color = colors[i];
|
||||||
pixel.setRgb(color);
|
pixel.setRgb([color[0], color[1], color[2]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
//show the canvas if it's hidden
|
//show the canvas if it's hidden
|
||||||
|
Loading…
Reference in New Issue
Block a user