mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
wip : needs tests
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user