提交 2930c6aa 编写于 作者: O openharmony_ci 提交者: Gitee

!178 回退 'Pull Request !166 : 修复uilabel 刷新组件时设置脏区域导致死锁问题'

Merge pull request !178 from wangtiantian/revert-merge-166-master
......@@ -275,6 +275,7 @@ void UILabel::SetY(int16_t y)
void UILabel::RefreshLabel()
{
Invalidate();
ellipsisIndex_ = Text::TEXT_ELLIPSIS_END_INV;
if (!needRefresh_) {
needRefresh_ = true;
......@@ -286,7 +287,6 @@ void UILabel::ReMeasure()
if (!needRefresh_) {
return;
}
Invalidate();
needRefresh_ = false;
InitLabelText();
Style style = GetStyleConst();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册