mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
ActionDrawer: Fix Panel Opacity when Brightness is Adjusted
This merge request moves the location where the action drawer panel opacity gets set to the top of the background item stack to resolve an issue with the opacity not changing properly when the brightness is adjusted.
This commit is contained in:
parent
43672a5ec5
commit
775d612d3e
2 changed files with 4 additions and 2 deletions
|
|
@ -58,12 +58,13 @@ MobileShell.BaseItem {
|
|||
bottomPadding: Kirigami.Units.smallSpacing * 4
|
||||
|
||||
background: Item {
|
||||
opacity: brightnessPressedValue
|
||||
|
||||
Rectangle {
|
||||
id: background
|
||||
anchors.fill: parent
|
||||
anchors.bottomMargin: shadow.height
|
||||
color: Kirigami.Theme.backgroundColor
|
||||
opacity: brightnessPressedValue
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
|
|
|
|||
|
|
@ -45,12 +45,13 @@ MobileShell.BaseItem {
|
|||
bottomPadding: Kirigami.Units.smallSpacing * 4
|
||||
|
||||
background: Item {
|
||||
opacity: brightnessPressedValue
|
||||
|
||||
Rectangle {
|
||||
id: background
|
||||
anchors.fill: parent
|
||||
anchors.margins: Kirigami.Units.largeSpacing
|
||||
color: Kirigami.Theme.backgroundColor
|
||||
opacity: brightnessPressedValue
|
||||
visible: false
|
||||
|
||||
radius: Kirigami.Units.cornerRadius
|
||||
|
|
|
|||
Loading…
Reference in a new issue