mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-22 20:23:09 +00:00
Merge pull request #231 from blemelin/master
Transparent window means transparent WebView
This commit is contained in:
commit
cc79287e86
1 changed files with 1 additions and 0 deletions
|
@ -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| {
|
||||
|
|
Loading…
Reference in a new issue