mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-18 16:24:27 -04:00
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user