diff --git a/cocos/scripting/js-bindings/script/studio/parsers/timelineParser-2.x.js b/cocos/scripting/js-bindings/script/studio/parsers/timelineParser-2.x.js index fa0f84aa6f..0a023cbdf0 100644 --- a/cocos/scripting/js-bindings/script/studio/parsers/timelineParser-2.x.js +++ b/cocos/scripting/js-bindings/script/studio/parsers/timelineParser-2.x.js @@ -496,7 +496,7 @@ this.widgetAttributes(widget, json); - var clipEnabled = json["ClipAble"]; + var clipEnabled = json["ClipAble"] || false; if(clipEnabled != null) widget.setClippingEnabled(clipEnabled); @@ -777,7 +777,7 @@ widget.setBackGroundImage(path, type); }); - var clipEnabled = json["ClipAble"]; + var clipEnabled = json["ClipAble"] || false; widget.setClippingEnabled(clipEnabled); var colorType = getParam(json["ComboBoxIndex"], 0); diff --git a/web b/web index e52c98198f..85518886f7 160000 --- a/web +++ b/web @@ -1 +1 @@ -Subproject commit e52c98198fd8325017b213365180580be06d2259 +Subproject commit 85518886f7ba8a618ec69bb75a9b7d67ea2d1c7d