mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Adaptations for APP Engine compatibility
This commit is contained in:
parent
02e261880a
commit
b42f896584
|
@ -35,7 +35,7 @@ var jscolor = {
|
||||||
|
|
||||||
|
|
||||||
getDir : function() {
|
getDir : function() {
|
||||||
return "js/lib/jsColor_1_4_0/";
|
return "/" + window.location.pathname.split("/")[1] + "/js/lib/jsColor_1_4_0/";
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -69,8 +69,9 @@
|
||||||
this.localStorageService.displayRestoreNotification();
|
this.localStorageService.displayRestoreNotification();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (pskl.framesheetData_) {
|
if (pskl.framesheetData_ && pskl.framesheetData_.content) {
|
||||||
frameSheet.load(pskl.framesheetData_);
|
frameSheet.load(pskl.framesheetData_.content);
|
||||||
|
pskl.app.animationController.setFPS(pskl.framesheetData_.fps);
|
||||||
}
|
}
|
||||||
this.finishInit();
|
this.finishInit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user