mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
trigger piskel_saved event after loading page sprite
This commit is contained in:
parent
5faf4af7c9
commit
4b378d48a2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user