From 28a43869753c5070c143f4fb2ce941664c74c96e Mon Sep 17 00:00:00 2001 From: GyDi Date: Fri, 6 May 2022 01:15:15 +0800 Subject: [PATCH] fix: change window default size --- src-tauri/src/utils/resolve.rs | 2 +- src-tauri/tauri.conf.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/utils/resolve.rs b/src-tauri/src/utils/resolve.rs index 0c25953..1a2680c 100644 --- a/src-tauri/src/utils/resolve.rs +++ b/src-tauri/src/utils/resolve.rs @@ -51,7 +51,7 @@ fn resolve_window(app: &App) { window .set_size(Logical(LogicalSize { width: 800.0, - height: 610.0, + height: 620.0, })) .unwrap(); // use tauri_plugin_vibrancy::MacOSVibrancy; diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index a391cd0..1db6984 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -71,7 +71,7 @@ { "title": "Clash Verge", "width": 800, - "height": 600, + "height": 610, "resizable": true, "fullscreen": false, "decorations": false,