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 { UkuiItems.StyleBackground {
id: backgroundMask id: backgroundMask
// normalScreen // normalScreen
x: normalGeometry.x x: mainWindow.isFullScreen ? 0 : normalGeometry.x
y: normalGeometry.y y: mainWindow.isFullScreen ? 0 : normalGeometry.y
height: normalGeometry.height height: mainWindow.isFullScreen ? root.height : normalGeometry.height
width: normalGeometry.width width: mainWindow.isFullScreen ? root.width : normalGeometry.width
radius: mainWindow.isFullScreen ? 0 : Platform.Theme.windowRadius radius: mainWindow.isFullScreen ? 0 : Platform.Theme.windowRadius
border.width: 1 border.width: 1