We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9846909 + 127cb99 commit d9c7bf9Copy full SHA for d9c7bf9
extensions/cocostudio/loader/parsers/compatible.js
@@ -41,7 +41,7 @@
41
* @returns {*}
42
*/
43
widgetFromJsonFile: function(file){
44
- var json = cc.loader.getRes(file);
+ var json = cc.loader.getRes(cc.path.join(cc.loader.resPath, file));
45
if(json)
46
this._fileDesignSizes[file] = cc.size(json["designWidth"]||0, json["designHeight"]||0);
47
0 commit comments