mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-01 09:18:07 +00:00
bind bottom bar opacity to windows scale
This commit is contained in:
parent
9f47529ccb
commit
63b482f2aa
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ Rectangle {
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
height: compositorRoot.state == "homeScreen" ? 0 : bottomBarHeight
|
height: compositorRoot.state == "homeScreen" ? 0 : bottomBarHeight
|
||||||
color: Qt.rgba(0, 0, 0, (compositorRoot.state == "application" ? 1.0 : 0.5))
|
color: Qt.rgba(0, 0, 0, windowsLayout.scale)
|
||||||
|
|
||||||
Behavior on height {
|
Behavior on height {
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue