trigger piskel_saved event after loading page sprite

This commit is contained in:
juliandescottes 2016-10-10 03:03:59 +02:00
parent 5faf4af7c9
commit 4b378d48a2

View File

@ -179,6 +179,7 @@
var serializedPiskel = piskelData.piskel;
pskl.utils.serialization.Deserializer.deserialize(serializedPiskel, function (piskel, extra) {
pskl.app.piskelController.setPiskel(piskel);
$.publish(Events.PISKEL_SAVED);
var fps = extra.fps;
if (piskelData.descriptor) {
// Backward compatibility for v2 or older