Skip to content

Commit 33e7c42

Browse files
committed
Merge pull request #3225 from sgtcloud/develop
fix the TextAtlas incorrect width setting in the ccs file
2 parents 4ce9422 + 6d0d600 commit 33e7c42

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)