mirror of
https://github.com/Melorise/TamaASR.git
synced 2026-11-07 14:39:32 +00:00
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:
@@ -7,6 +7,7 @@
|
|||||||
### 变更
|
### 变更
|
||||||
|
|
||||||
- 设置页改为按需创建,关闭窗口后立即销毁其 renderer 以降低常驻内存。
|
- 设置页改为按需创建,关闭窗口后立即销毁其 renderer 以降低常驻内存。
|
||||||
|
- 缩小设置页默认与最小窗口尺寸,使其匹配当前功能密度。
|
||||||
|
|
||||||
## [0.1.12] - 2026-08-23
|
## [0.1.12] - 2026-08-23
|
||||||
|
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user