Skip to content

Commit 6d0d600

Browse files
committed
fix the TextAtlas incorrect width setting in the ccs file
1 parent 9c9d36d commit 6d0d600

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

extensions/cocostudio/loader/parsers/timelineParser-2.x.js

+3
Original file line numberDiff line numberDiff line change
@@ -1061,6 +1061,9 @@
10611061
});
10621062
this.widgetAttributes(widget, json);
10631063

1064+
// the TextAtlas must be ignore ContentSize[Size] in the ccs file.
1065+
widget.ignoreContentAdaptWithSize(true);
1066+
10641067
return widget;
10651068
};
10661069

0 commit comments

Comments
 (0)