Clone pixels pug

This commit is contained in:
juliandescottes 2012-09-08 18:15:53 +02:00
parent 869f3d2e00
commit df405d917f

View File

@ -48,7 +48,7 @@
ns.Frame.prototype.clonePixels_ = function (pixels) {
var clonedPixels = [];
for (var col = 0 ; col < pixels.length ; col++) {
clonedPixels[col] = pixels[col].slice(0 , pixels[col].length-1);
clonedPixels[col] = pixels[col].slice(0 , pixels[col].length);
}
return clonedPixels;
};