mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
support chunked layerData in regular deserializer
This commit is contained in:
@ -86,7 +86,7 @@ describe("FrameUtils suite", function() {
|
||||
var spritesheet = pskl.utils.FrameUtils.toImage(frame);
|
||||
|
||||
// split the spritesheet by 4
|
||||
var frames = pskl.utils.LayerUtils.createFramesFromSpritesheet(spritesheet, 4);
|
||||
var frames = pskl.utils.FrameUtils.createFramesFromSpritesheet(spritesheet, 4);
|
||||
|
||||
// expect 4 frames of 1x2
|
||||
expect(frames.length).toBe(4);
|
||||
|
Reference in New Issue
Block a user