提交 00fdb290 编写于 作者: P pssea

Description: fix render rootview OnPostDraw invalid Rect

IssueNo: https://gitee.com/openharmony/graphic_ui/issues/I4HELS
Feature or Bugfix: Feature
Binary Source:No
Signed-off-by: Nlizhiqi <lizhiqi1@huawei.com>
上级 ae29e78a
......@@ -717,9 +717,9 @@ void RootView::DrawTop(UIView* view, const Rect& rect)
stackCount = 0;
curView = par->GetNextSibling();
if (enableAnimator) {
par->OnPostDraw(*dc_.mapBufferInfo, curViewRect);
par->OnPostDraw(*dc_.mapBufferInfo, rect);
} else {
par->OnPostDraw(*dc_.bufferInfo, curViewRect);
par->OnPostDraw(*dc_.bufferInfo, rect);
}
par = par->GetParent();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册