mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Previews are fixed. Removed drawing methods from piskel .js
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user