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
+1
View File
@@ -21,5 +21,6 @@
- 优化切换节点时的延迟
- 优化托盘退出快捷键显示
- 优化首次启动节点信息刷新
- 默认使用内置窗口控件
</details>
+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)