mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-13 05:20:28 +08:00
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:
parent
39d8a0ee35
commit
05cdebd7ec
@ -21,5 +21,6 @@
|
||||
- 优化切换节点时的延迟
|
||||
- 优化托盘退出快捷键显示
|
||||
- 优化首次启动节点信息刷新
|
||||
- 默认使用内置窗口控件
|
||||
|
||||
</details>
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user