mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-08 19:22:44 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user