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

!905 uicircleprogress控件进度条为0不显示进度球

Merge pull request !905 from 施其昌/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册