mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
On Web, add WindowBuilderExtWebSys::with_append() (#2953)
This commit is contained in:
committed by
Kirill Chibisov
parent
5366694db2
commit
692f15c49f
@@ -483,6 +483,7 @@ pub struct PlatformSpecificWindowBuilderAttributes {
|
||||
pub(crate) canvas: Option<backend::RawCanvasType>,
|
||||
pub(crate) prevent_default: bool,
|
||||
pub(crate) focusable: bool,
|
||||
pub(crate) append: bool,
|
||||
}
|
||||
|
||||
impl Default for PlatformSpecificWindowBuilderAttributes {
|
||||
@@ -491,6 +492,7 @@ impl Default for PlatformSpecificWindowBuilderAttributes {
|
||||
canvas: None,
|
||||
prevent_default: true,
|
||||
focusable: true,
|
||||
append: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user