ShutdownUI: Adapt to color background

pull/15/head
reionwong 4 years ago
parent 304f71eb7c
commit 65d9c097b6

@ -43,6 +43,12 @@ ApplicationWindow {
id: wallpaper id: wallpaper
} }
Rectangle {
anchors.fill: parent
color: wallpaper.color
visible: wallpaper.type === 1
}
Image { Image {
id: wallpaperImage id: wallpaperImage
anchors.fill: parent anchors.fill: parent
@ -54,13 +60,14 @@ ApplicationWindow {
clip: true clip: true
cache: false cache: false
smooth: false smooth: false
visible: wallpaper.type === 0
}
ColorOverlay { ColorOverlay {
anchors.fill: parent anchors.fill: parent
source: parent source: parent
color: "#000000" color: "#000000"
opacity: 0.4 opacity: 0.4
}
} }
FastBlur { FastBlur {
@ -69,7 +76,7 @@ ApplicationWindow {
radius: 64 radius: 64
source: wallpaperImage source: wallpaperImage
cached: true cached: true
visible: true visible: wallpaperImage.visible
} }
Accounts.UserAccount { Accounts.UserAccount {

Loading…
Cancel
Save