提交 33778819 编写于 作者: N niulihua

fix the display bug of camera preview app

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