mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-16 21:58:25 +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)
|
let mut webview = WebViewBuilder::new(window)
|
||||||
.unwrap()
|
.unwrap()
|
||||||
|
.with_transparent(cfg.window.window.transparent)
|
||||||
.with_url("dioxus://index.html/")
|
.with_url("dioxus://index.html/")
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.with_rpc_handler(move |_window: &Window, req: RpcRequest| {
|
.with_rpc_handler(move |_window: &Window, req: RpcRequest| {
|
||||||
|
|
Loading…
Add table
Reference in a new issue