From 78afa17953334b5b4f301a14ac288dfb357ebb4c Mon Sep 17 00:00:00 2001 From: qiqi49 Date: Thu, 7 Mar 2024 15:04:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(qml):=E4=BF=AE=E5=A4=8D=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E4=B8=BB=E5=B1=8F=E5=B9=95=E4=B9=8B=E5=90=8E=EF=BC=8C=E5=85=A8?= =?UTF-8?q?=E5=B1=8F=E8=8F=9C=E5=8D=95=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qml/main.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qml/main.qml b/qml/main.qml index c646f8d..03b3a3a 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -58,10 +58,10 @@ Item { UkuiItems.StyleBackground { id: backgroundMask // 初始状态默认为normalScreen - x: normalGeometry.x - y: normalGeometry.y - height: normalGeometry.height - width: normalGeometry.width + x: mainWindow.isFullScreen ? 0 : normalGeometry.x + y: mainWindow.isFullScreen ? 0 : normalGeometry.y + height: mainWindow.isFullScreen ? root.height : normalGeometry.height + width: mainWindow.isFullScreen ? root.width : normalGeometry.width radius: mainWindow.isFullScreen ? 0 : Platform.Theme.windowRadius border.width: 1