提交 86b5ee61 编写于 作者: O openharmony_ci 提交者: Gitee

!171 fix the display bug of camera preview app

Merge pull request !171 from niulihua/master
......@@ -187,6 +187,10 @@ void DrawUtils::DrawColorArea(BufferInfo& gfxDstBuffer,
const ColorType& color,
OpacityType opa) const
{
if (opa == OPA_TRANSPARENT) {
return;
}
Rect maskedArea;
if (!maskedArea.Intersect(area, mask)) {
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册