add size change animation

Signed-off-by: muxlz <hulinmiao@huawei.com>
Change-Id: Ife12f79ee1334c2689352c118c314933fed05052
This commit is contained in:
muxlz
2022-02-11 15:05:48 +08:00
parent 7601155dd8
commit b07c40d5b1
+1 -1
View File
@@ -760,7 +760,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");
}
}