From 196aa9873bf10e75597cd54eacec42058e56dfaf Mon Sep 17 00:00:00 2001 From: MoeSnowyFox Date: Thu, 2 Oct 2025 14:06:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(electron):=20=E8=B0=83=E6=95=B4=E5=AF=B9?= =?UTF-8?q?=E8=AF=9D=E6=A1=86=E7=AA=97=E5=8F=A3=E9=AB=98=E5=BA=A6-=20?= =?UTF-8?q?=E5=B0=86=E5=AF=B9=E8=AF=9D=E6=A1=86=E7=AA=97=E5=8F=A3=E7=9A=84?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=E4=BB=8E140=E5=A2=9E=E5=8A=A0=E5=88=B0145?= =?UTF-8?q?=E5=83=8F=E7=B4=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (这个高度刚刚好解决html位置问题) --- frontend/electron/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/electron/main.ts b/frontend/electron/main.ts index f313a6f..d2b9300 100644 --- a/frontend/electron/main.ts +++ b/frontend/electron/main.ts @@ -881,7 +881,7 @@ function createQuestionDialog(questionData: any): Promise { // 创建对话框窗口 - 小尺寸可拖动窗口 const dialogWindow = new BrowserWindow({ width: 400, - height: 140, + height: 145, x: windowBounds.x + (windowBounds.width - 400) / 2, // 居中显示 y: windowBounds.y + (windowBounds.height - 200) / 2, resizable: false, // 不允许改变大小