mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 03:32:36 +08:00
parent
f2f75d4015
commit
3edeaa7038
|
@ -139,10 +139,7 @@ pub fn create_window(app_handle: &AppHandle) {
|
||||||
_ => {
|
_ => {
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
{
|
{
|
||||||
builder = builder
|
builder = builder.inner_size(800.0, 636.0).center();
|
||||||
.additional_browser_args("--enable-features=msWebView2EnableDraggableRegions")
|
|
||||||
.inner_size(800.0, 636.0)
|
|
||||||
.center();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
|
@ -159,6 +156,7 @@ pub fn create_window(app_handle: &AppHandle) {
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
let window = builder
|
let window = builder
|
||||||
.decorations(false)
|
.decorations(false)
|
||||||
|
.additional_browser_args("--enable-features=msWebView2EnableDraggableRegions --disable-features=OverscrollHistoryNavigation,msExperimentalScrolling")
|
||||||
.transparent(true)
|
.transparent(true)
|
||||||
.visible(false)
|
.visible(false)
|
||||||
.build();
|
.build();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user