瀏覽代碼

fix: change window default size

GyDi 3 年之前
父節點
當前提交
28a4386975
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src-tauri/src/utils/resolve.rs
  2. 1 1
      src-tauri/tauri.conf.json

+ 1 - 1
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;

+ 1 - 1
src-tauri/tauri.conf.json

@@ -71,7 +71,7 @@
       {
         "title": "Clash Verge",
         "width": 800,
-        "height": 600,
+        "height": 610,
         "resizable": true,
         "fullscreen": false,
         "decorations": false,