ohos: Support resizing the surface (#35158)

A window resize requires to also resize the webview,
otherwise it will stay at the original size.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
Jonathan Schwender 2025-01-29 16:45:17 +01:00 committed by GitHub
parent f6d1b30e97
commit 53fcc98585
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 87 additions and 31 deletions

View file

@ -20,7 +20,7 @@ pub struct WebViewManager<WebView> {
webviews: HashMap<WebViewId, WebView>,
/// The order to paint them in, topmost last.
painting_order: Vec<WebViewId>,
pub(crate) painting_order: Vec<WebViewId>,
}
#[derive(Clone, Copy, Debug, PartialEq)]