fix(qml):修复切换主屏幕之后,全屏菜单显示错误问题
This commit is contained in:
parent
af6886e6ff
commit
78afa17953
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue