feat: use OS default window manager

This commit is contained in:
wonfen
2025-05-14 21:32:26 +08:00
parent 4f86f3c0ec
commit 7f0ebbd83d
4 changed files with 29 additions and 19 deletions

View File

@@ -295,7 +295,7 @@ pub fn create_window(is_show: bool) -> bool {
)
.title("Clash Verge")
.center()
.decorations(false)
.decorations(true)
.fullscreen(false)
.inner_size(DEFAULT_WIDTH as f64, DEFAULT_HEIGHT as f64)
.min_inner_size(520.0, 520.0)