mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Merge branch 'master' into feature-gif-export-panel
This commit is contained in:
commit
069ccb0735
@ -153,6 +153,10 @@
|
|||||||
xhr.send();
|
xhr.send();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
loadFramesheet : function (framesheet) {
|
||||||
|
frameSheet.load(framesheet);
|
||||||
|
},
|
||||||
|
|
||||||
getFirstFrameAsPNGData_ : function () {
|
getFirstFrameAsPNGData_ : function () {
|
||||||
var tmpSheet = new pskl.model.FrameSheet(frameSheet.getHeight(), frameSheet.getWidth());
|
var tmpSheet = new pskl.model.FrameSheet(frameSheet.getHeight(), frameSheet.getWidth());
|
||||||
tmpSheet.addFrame(frameSheet.getFrameByIndex(0));
|
tmpSheet.addFrame(frameSheet.getFrameByIndex(0));
|
||||||
|
Loading…
Reference in New Issue
Block a user