reset context alpha manually to avoid residual alpha/matrix

Signed-off-by: Zhang Peng <zhangpeng280@huawei.com>
Change-Id: I84375d5aea366c224b9583c2dee7a14eb0c8e41f
This commit is contained in:
Zhang Peng
2022-07-28 10:53:47 +08:00
parent c364abd9ac
commit 9cbae2df55
+1
View File
@@ -111,6 +111,7 @@ void StartingWindow::DrawStartingWindow(sptr<WindowNode>& node,
Rect rect = node->GetWindowRect();
if (RemoteAnimation::CheckAnimationController() && node->leashWinSurfaceNode_) {
node->leashWinSurfaceNode_->SetBounds(rect.posX_, rect.posY_, -1, -1);
node->leashWinSurfaceNode_->ResetContextAlpha();
}
if (!isColdStart) {
return;