ソースを参照

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,