mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fix consistency
This commit is contained in:
parent
43f989919c
commit
c97ce34e6e
@ -131,7 +131,7 @@
|
|||||||
var width = this.getWidth();
|
var width = this.getWidth();
|
||||||
var height = this.getHeight();
|
var height = this.getHeight();
|
||||||
var length = width * height;
|
var length = width * height;
|
||||||
for (var i = 0; i < length ; ++i) {
|
for (var i = 0; i < length ; i++) {
|
||||||
callback(this.pixels[i], i % width, Math.floor(i / width), this);
|
callback(this.pixels[i], i % width, Math.floor(i / width), this);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user