Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo of richtext. #6231

Merged

Conversation

caryliu1999
Copy link
Contributor

@caryliu1999 caryliu1999 commented Feb 26, 2020

反馈自论坛:https://forum.cocos.org/t/cocos-creator-v2-3-1-rc-1/89099/39?u=cary

修复富文本在active为false的状态下修改内容,排版错误的问题。

@@ -421,6 +423,8 @@ let Label = cc.Class({
if (value) {
this.font = null;

if (!this.enabledInHierarchy) return;
Copy link
Contributor

@holycanvas holycanvas Feb 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

放在函数里面和放在外面有什么区别呀?

@holycanvas holycanvas merged commit cbec85c into cocos:v2.3.1-release Feb 26, 2020
1 check passed
@caryliu1999 caryliu1999 deleted the v2.3.1-release-fix-richtext branch Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants