mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fix old deserializers to match new callback func
This commit is contained in:
parent
fefc635e25
commit
dbbd57ae28
@ -14,6 +14,6 @@
|
||||
var descriptor = new pskl.model.piskel.Descriptor('Deserialized piskel', '');
|
||||
var layer = pskl.model.Layer.fromFrames('Layer 1', frames);
|
||||
|
||||
this.callback_(pskl.model.Piskel.fromLayers([layer], descriptor));
|
||||
this.callback_(pskl.model.Piskel.fromLayers([layer], descriptor), { fps: Constants.DEFAULTS.FPS});
|
||||
};
|
||||
})();
|
||||
|
@ -16,7 +16,7 @@
|
||||
piskel.addLayer(layer);
|
||||
}.bind(this));
|
||||
|
||||
this.callback_(piskel);
|
||||
this.callback_(piskel, { fps: Constants.DEFAULTS.FPS});
|
||||
};
|
||||
|
||||
ns.Deserializer_v1.prototype.deserializeLayer = function (layerString) {
|
||||
|
Loading…
Reference in New Issue
Block a user