mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-20 01:13:32 -04:00
add size change animation
Signed-off-by: muxlz <hulinmiao@huawei.com> Change-Id: Ife12f79ee1334c2689352c118c314933fed05052
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user