mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
actiondrawer: Fix color detection
PanelBackground supplies color through the `panelColor` property, not `color`.
This commit is contained in:
parent
47a886988f
commit
147e949ee7
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ MobileShell.BaseItem {
|
|||
antialiasing: true
|
||||
|
||||
// Only show separator on dark background
|
||||
visible: (Kirigami.ColorUtils.brightnessForColor(background.color)) === Kirigami.ColorUtils.Dark ? 1 : 0
|
||||
visible: (Kirigami.ColorUtils.brightnessForColor(background.panelColor)) === Kirigami.ColorUtils.Dark ? 1 : 0
|
||||
height: 1
|
||||
color: Kirigami.ColorUtils.tintWithAlpha(Kirigami.Theme.textColor, Kirigami.Theme.backgroundColor, 0.9)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue