!38056 progress组件去除不必要的标脏

Merge pull request !38056 from 徐钦锋/progress0718
This commit is contained in:
openharmony_ci 2024-07-20 13:32:30 +00:00 committed by Gitee
commit f5b5595184
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -390,6 +390,7 @@ void ProgressPattern::FireBuilder()
auto host = GetHost();
CHECK_NULL_VOID(host);
if (!makeFunc_.has_value()) {
CHECK_NULL_VOID(contentModifierNode_);
host->RemoveChildAndReturnIndex(contentModifierNode_);
contentModifierNode_ = nullptr;
host->GetRenderContext()->SetClipToFrame(true);