mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-21 04:25:28 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user