wip : needs tests

This commit is contained in:
jdescottes
2015-08-07 08:37:13 +02:00
parent d962217f90
commit e0c9a46ed3
5 changed files with 48 additions and 47 deletions

View File

@@ -88,7 +88,7 @@
if (this.containsPixel(x, y)) {
var p = this.pixels[x][y];
if (p !== color) {
this.pixels[x][y] = color;
this.pixels[x][y] = color || Constants.TRANSPARENT_COLOR;
this.version++;
}
}