diff --git a/frameworks/components/ui_circle_progress.cpp b/frameworks/components/ui_circle_progress.cpp index a46f74d94f6f1feae596557f504e5a63cdd51165..24e47916f8d78cc807979841b224a31970f3838c 100644 --- a/frameworks/components/ui_circle_progress.cpp +++ b/frameworks/components/ui_circle_progress.cpp @@ -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_); } }