ui: 缩小设置窗口默认尺寸

AI-assisted-by: Codex

AI-model: gpt-5.6-sol

AI-reasoning-effort: medium

Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
2026-08-24 00:20:00 +08:00
co-authored by Codex
parent 8f8244af05
commit cbe34e91ef
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -7,6 +7,7 @@
### 变更 ### 变更
- 设置页改为按需创建,关闭窗口后立即销毁其 renderer 以降低常驻内存。 - 设置页改为按需创建,关闭窗口后立即销毁其 renderer 以降低常驻内存。
- 缩小设置页默认与最小窗口尺寸,使其匹配当前功能密度。
## [0.1.12] - 2026-08-23 ## [0.1.12] - 2026-08-23
+4 -4
View File
@@ -32,10 +32,10 @@ export class SettingsWindow {
private async createWindow(): Promise<BrowserWindow> { private async createWindow(): Promise<BrowserWindow> {
const window = new BrowserWindow({ const window = new BrowserWindow({
width: 720, width: 600,
height: 820, height: 650,
minWidth: 640, minWidth: 560,
minHeight: 680, minHeight: 560,
show: false, show: false,
title: 'MeloASR 设置', title: 'MeloASR 设置',
autoHideMenuBar: true, autoHideMenuBar: true,