未验证 提交 239b2556 编写于 作者: O openharmony_ci 提交者: Gitee

!906 uicircleprogress控件进度条为0不显示进度球 同步1018分支

Merge pull request !906 from 施其昌/cherry-pick-1677222032
......@@ -113,10 +113,8 @@ void UICircleProgress::DrawCommonCircle(BufferInfo& gfxDstBuffer, const Rect& in
arcinfo.startAngle = startAngle;
arcinfo.endAngle = endAngle;
arcinfo.imgSrc = foregroundImage_;
if (startAngle != endAngle) {
BaseGfxEngine::GetInstance()->DrawArc(gfxDstBuffer, arcinfo, invalidatedArea, *foregroundStyle_, opaScale_,
foregroundStyle_->lineCap_);
}
BaseGfxEngine::GetInstance()->DrawArc(gfxDstBuffer, arcinfo, invalidatedArea, *foregroundStyle_, opaScale_,
foregroundStyle_->lineCap_);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册