未验证 提交 8e044ab8 编写于 作者: O openharmony_ci 提交者: Gitee

!890 弧形进度条组件进度为0时,不应显示进度球 同步1018分支

Merge pull request !890 from 施其昌/cherry-pick-1676426596
......@@ -107,7 +107,7 @@ void UICircleProgress::DrawCommonCircle(BufferInfo& gfxDstBuffer, const Rect& in
backgroundStyle_->lineCap_);
}
if ((startAngle != endAngle) || (foregroundStyle_->lineCap_ == CapType::CAP_ROUND)) {
if ((startAngle != endAngle) && (foregroundStyle_->lineCap_ == CapType::CAP_ROUND)) {
arcinfo.imgPos.x = progressImagePos_.x + rect.GetLeft();
arcinfo.imgPos.y = progressImagePos_.y + rect.GetTop();
arcinfo.startAngle = startAngle;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册