Transparent window means transparent WebView

This commit is contained in:
Benjamin Lemelin committed 2022-02-11 14:47:29 -05:00
1 parent e3d4c1cde4
commit f8c78f8ca9
1 file changed
+1
+1
View File
@@ -177,6 +177,7 @@ pub fn launch_with_props<P: 'static + Send>(
let mut webview = WebViewBuilder::new(window) let mut webview = WebViewBuilder::new(window)
.unwrap() .unwrap()
.with_transparent(cfg.window.window.transparent)
.with_url("dioxus://index.html/") .with_url("dioxus://index.html/")
.unwrap() .unwrap()
.with_rpc_handler(move |_window: &Window, req: RpcRequest| { .with_rpc_handler(move |_window: &Window, req: RpcRequest| {