Transparent window means transparent WebView

This commit is contained in:
Benjamin Lemelin 2022-02-11 14:47:29 -05:00
parent e3d4c1cde4
commit f8c78f8ca9

View file

@ -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| {