提交 79f5ab6f 编写于 作者: S swx1094762

Description:uicircleprogress控件进度条为0不显示进度球

issuesno:#I6HJUZ
Sig:SIG_ApplicationFramework
Feature or Bugfix:Feature
Binary Source:NO
Signed-off-by: Nswx1094762 <shiqichang@huawei.com>
上级 d8d39ef9
......@@ -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.
先完成此消息的编辑!
想要评论请 注册