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 8cfd5c6 + 3f7b314 commit 621e014Copy full SHA for 621e014
frameworks/js-bindings/bindings/script/studio/parsers/timelineParser-2.x.js
@@ -293,6 +293,8 @@
293
widget.setColor(getColor(color));
294
295
var layoutComponent = ccui.LayoutComponent.bindLayoutComponent(widget);
296
+ if(!layoutComponent)
297
+ return;
298
299
var positionXPercentEnabled = json["PositionPercentXEnable"] || false;
300
var positionYPercentEnabled = json["PositionPercentYEnable"] || false;
0 commit comments