fix(qml):修复切换主屏幕之后,全屏菜单显示错误问题

This commit is contained in:
qiqi49 2024-03-07 15:04:03 +08:00
parent af6886e6ff
commit 78afa17953
1 changed files with 4 additions and 4 deletions

View File

@ -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