Explorar o código

Merge pull request #231 from blemelin/master

Transparent window means transparent WebView
Jonathan Kelley %!s(int64=3) %!d(string=hai) anos
pai
achega
cc79287e86
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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| {