mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Layers:Review:Cleanup of GifExportController
This commit is contained in:
@ -6,14 +6,11 @@
|
||||
* @param {Number} width
|
||||
* @param {Number} height
|
||||
*/
|
||||
ns.Piskel = function (width, height, fps) {
|
||||
if (width && height && fps) {
|
||||
ns.Piskel = function (width, height) {
|
||||
if (width && height) {
|
||||
/** @type {Array} */
|
||||
this.layers = [];
|
||||
|
||||
/** @type {Number} */
|
||||
this.fps = fps;
|
||||
|
||||
/** @type {Number} */
|
||||
this.width = width;
|
||||
|
||||
@ -36,10 +33,6 @@
|
||||
return this.width;
|
||||
};
|
||||
|
||||
ns.Piskel.prototype.getFps = function () {
|
||||
return this.fps;
|
||||
};
|
||||
|
||||
ns.Piskel.prototype.getLayers = function () {
|
||||
return this.layers;
|
||||
};
|
||||
|
Reference in New Issue
Block a user