mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fix #684 - import GIF as spritesheet failed
This commit is contained in:
parent
4506fdbdf2
commit
f2b733c91e
@ -61,7 +61,7 @@
|
||||
this.createPiskelFromImages_(images, frameSizeX, frameSizeY, options.smoothing);
|
||||
} else {
|
||||
// Spritesheet
|
||||
var frameImages = this.createImagesFromSheet_(images[0]);
|
||||
var frameImages = this.createImagesFromSheet_(images[0], frameSizeX, frameSizeY, frameOffsetX, frameOffsetY);
|
||||
this.createPiskelFromImages_(frameImages, frameSizeX, frameSizeY, options.smoothing);
|
||||
}
|
||||
onComplete();
|
||||
|
Loading…
Reference in New Issue
Block a user