fix(window): default to custom titlebar on startup (#6419)

* fix(window): default to custom titlebar on startup

* docs: Changelog.md
This commit is contained in:
Slinetrac
2026-03-04 10:48:36 +00:00
committed by GitHub
parent 39d8a0ee35
commit 05cdebd7ec
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -61,8 +61,8 @@ pub async fn build_new_window() -> Result<WebviewWindow, String> {
)
.title("Clash Verge")
.center()
// Using WindowManager::prefer_system_titlebar to control if show system built-in titlebar
// .decorations(true)
// Default to custom titlebar; users can switch to system titlebar in settings.
.decorations(false)
.fullscreen(false)
.inner_size(DEFAULT_WIDTH, DEFAULT_HEIGHT)
.min_inner_size(MINIMAL_WIDTH, MINIMAL_HEIGHT)