mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Merge branch 'master' into gh-pages
This commit is contained in:
commit
4fe72043ab
@ -48,7 +48,7 @@
|
|||||||
ns.Frame.prototype.clonePixels_ = function (pixels) {
|
ns.Frame.prototype.clonePixels_ = function (pixels) {
|
||||||
var clonedPixels = [];
|
var clonedPixels = [];
|
||||||
for (var col = 0 ; col < pixels.length ; col++) {
|
for (var col = 0 ; col < pixels.length ; col++) {
|
||||||
clonedPixels[col] = pixels[col].slice(0 , this.getHeight());
|
clonedPixels[col] = pixels[col].slice(0 , pixels[col].length-1);
|
||||||
}
|
}
|
||||||
return clonedPixels;
|
return clonedPixels;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user