Previews are fixed. Removed drawing methods from piskel .js

This commit is contained in:
juliandescottes
2012-09-04 22:18:00 +02:00
parent c261c370ad
commit 69a03a3416
9 changed files with 49 additions and 65 deletions

View File

@ -46,7 +46,7 @@
return this.pixels[0].length;
};
ns.Frame.prototype.isInFrame = function (col, row) {
ns.Frame.prototype.containsPixel = function (col, row) {
return col >= 0 && row >= 0 && col <= this.pixels.length && row <= this.pixels[0].length;
};