From f33ffb55a7d1da42df882a8237b2ac6332a06035 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Wed, 8 Feb 2023 00:11:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/modules/winLyric/main.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/modules/winLyric/main.ts b/src/main/modules/winLyric/main.ts index 2ea09ca2..8fe54f77 100644 --- a/src/main/modules/winLyric/main.ts +++ b/src/main/modules/winLyric/main.ts @@ -111,9 +111,14 @@ export const createWindow = () => { width = bounds.width height = bounds.height } + global.lx.event_app.update_config({ + 'desktopLyric.x': x, + 'desktopLyric.y': y, + 'desktopLyric.width': width, + 'desktopLyric.height': height, + }) const { shouldUseDarkColors, theme } = global.lx.theme - isWinBoundsUdating = true /** * Initial window options