Răsfoiți Sursa

Merge pull request #231 from blemelin/master

Transparent window means transparent WebView
Jonathan Kelley 3 ani în urmă
părinte
comite
cc79287e86
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      packages/desktop/src/lib.rs

+ 1 - 0
packages/desktop/src/lib.rs

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