|
@@ -142,6 +142,13 @@ impl WebviewInstance {
|
|
WebViewBuilder::new_gtk(vbox)
|
|
WebViewBuilder::new_gtk(vbox)
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ // Disable the webview default shortcuts to disable the reload shortcut
|
|
|
|
+ #[cfg(target_os = "windows")]
|
|
|
|
+ {
|
|
|
|
+ use wry::WebViewBuilderExtWindows;
|
|
|
|
+ webview = webview.with_browser_accelerator_keys(false);
|
|
|
|
+ }
|
|
|
|
+
|
|
webview = webview
|
|
webview = webview
|
|
.with_transparent(cfg.window.window.transparent)
|
|
.with_transparent(cfg.window.window.transparent)
|
|
.with_url("dioxus://index.html/")
|
|
.with_url("dioxus://index.html/")
|