!252 窗口大小变化时添加动画

Merge pull request !252 from mux/master
This commit is contained in:
openharmony_ci
2022-02-12 11:42:21 +00:00
committed by Gitee
+1 -1
View File
@@ -770,7 +770,7 @@ void WindowImpl::UpdateRect(const struct Rect& rect, WindowSizeChangeReason reas
Ace::ViewportConfig config;
config.SetSize(rect.width_, rect.height_);
config.SetDensity(virtualPixelRatio);
uiContent_->UpdateViewportConfig(config);
uiContent_->UpdateViewportConfig(config, reason);
WLOGFI("notify uiContent window size change end");
}
}