Merge pull request #231 from blemelin/master

Transparent window means transparent WebView
This commit is contained in:
Jonathan Kelley 2022-02-11 20:27:56 -05:00 committed by GitHub
commit cc79287e86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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