From 1743eabde808b9fbaf485cfcfe28e9b480b03e73 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 28 Jan 2023 14:17:57 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E7=A7=BB=E5=8A=A8=E9=A1=B5=E7=AD=BE?= =?UTF-8?q?=E5=88=B0=E6=96=B0=E7=AA=97=E5=8F=A3=20Fix=20https://github.com?= =?UTF-8?q?/siyuan-note/siyuan/issues/2955?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/electron/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/electron/main.js b/app/electron/main.js index f6d22a4bb..a130c2337 100644 --- a/app/electron/main.js +++ b/app/electron/main.js @@ -732,8 +732,8 @@ app.whenReady().then(() => { show: true, backgroundColor: '#FFF', trafficLightPosition: {x: 8, y: 13}, - width: 1032, - height: 650, + width: screen.getPrimaryDisplay().size.width * 0.7, + height: screen.getPrimaryDisplay().size.height * 0.9, minWidth: 493, minHeight: 376, fullscreenable: true,