Transparent window means transparent WebView
This commit is contained in:
1 parent
e3d4c1cde4
commit
f8c78f8ca9
1 file changed
+1
@@ -177,6 +177,7 @@ pub fn launch_with_props<P: 'static + Send>(
|
||||
|
||||
let mut webview = WebViewBuilder::new(window)
|
||||
.unwrap()
|
||||
.with_transparent(cfg.window.window.transparent)
|
||||
.with_url("dioxus://index.html/")
|
||||
.unwrap()
|
||||
.with_rpc_handler(move |_window: &Window, req: RpcRequest| {
|
||||
|
||||
Reference in new issue
Block a user