Fix consistency

This commit is contained in:
Dávid Szabó 2016-09-23 13:30:39 +02:00 committed by Julian Descottes
parent 43f989919c
commit c97ce34e6e

View File

@ -131,7 +131,7 @@
var width = this.getWidth();
var height = this.getHeight();
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);
}
};