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