From 9efeb51873466357cc3cce3cae6c7939825aaec0 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Sat, 6 Jan 2024 00:38:32 -0800 Subject: [PATCH] Fix windows build, again --- packages/desktop/src/webview.rs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/desktop/src/webview.rs b/packages/desktop/src/webview.rs index efec91e39..b83b5794e 100644 --- a/packages/desktop/src/webview.rs +++ b/packages/desktop/src/webview.rs @@ -103,12 +103,13 @@ impl WebviewInstance { .with_file_drop_handler(file_drop_handler) .with_web_context(&mut web_context); - #[cfg(windows)] - { - // Windows has a platform specific settings to disable the browser shortcut keys - use wry::WebViewBuilderExtWindows; - webview = webview.with_browser_accelerator_keys(false); - } + // This was removed from wry, I'm not sure what replaced it + // #[cfg(windows)] + // { + // // Windows has a platform specific settings to disable the browser shortcut keys + // use wry::WebViewBuilderExtWindows; + // webview = webview.with_browser_accelerator_keys(false); + // } if let Some(color) = cfg.background_color { webview = webview.with_background_color(color);