diff --git a/src-tauri/src/utils/resolve.rs b/src-tauri/src/utils/resolve.rs index d998714..5ca1eed 100644 --- a/src-tauri/src/utils/resolve.rs +++ b/src-tauri/src/utils/resolve.rs @@ -139,10 +139,7 @@ pub fn create_window(app_handle: &AppHandle) { _ => { #[cfg(target_os = "windows")] { - builder = builder - .additional_browser_args("--enable-features=msWebView2EnableDraggableRegions") - .inner_size(800.0, 636.0) - .center(); + builder = builder.inner_size(800.0, 636.0).center(); } #[cfg(target_os = "macos")] @@ -159,6 +156,7 @@ pub fn create_window(app_handle: &AppHandle) { #[cfg(target_os = "windows")] let window = builder .decorations(false) + .additional_browser_args("--enable-features=msWebView2EnableDraggableRegions --disable-features=OverscrollHistoryNavigation,msExperimentalScrolling") .transparent(true) .visible(false) .build();