mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fix in serialization
This commit is contained in:
parent
89629d2939
commit
6acfa2256c
@ -21,7 +21,7 @@
|
|||||||
var serializedLayers = piskel.getLayers().map(function (l) {
|
var serializedLayers = piskel.getLayers().map(function (l) {
|
||||||
return pskl.utils.serialization.Serializer.serializeLayer(l);
|
return pskl.utils.serialization.Serializer.serializeLayer(l);
|
||||||
});
|
});
|
||||||
var frames = pskl.app.piskelController.getLayerAt(0).getFrames();
|
var frames = piskel.getLayerAt(0).getFrames();
|
||||||
var hiddenFrames = frames.map(function (frame, index) {
|
var hiddenFrames = frames.map(function (frame, index) {
|
||||||
if (frame.visible) {
|
if (frame.visible) {
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user