Add translucency slider and set default to 30%

Apply 1 suggestion(s) to 1 file(s)
Fix
This commit is contained in:
Devin Lin
2021-07-27 13:34:06 -04:00
parent 97737b753b
commit 592d3160df
3 changed files with 33 additions and 0 deletions

View File

@@ -296,7 +296,14 @@ Kirigami.ApplicationWindow {
}
}
// blur effect
color: Config.blur && !Config.compactLayout ? "transparent" : Kirigami.Theme.backgroundColor
// we need to apply the translucency effect separately on top of the color
background: Rectangle {
color: Config.blur && !Config.compactLayout ? Qt.rgba(Kirigami.Theme.backgroundColor.r, Kirigami.Theme.backgroundColor.g, Kirigami.Theme.backgroundColor.b, 1 - Config.transparency) : "transparent"
}
Component {
id: roomListComponent
RoomListPage {