mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Add opaque background to dock overlay window
The transparent dock overlay at LayerTop let maximized app content bleed through, visible as a colored band (e.g. VLC's orange toolbar) behind the favourites bar. Add a Rectangle with Kirigami.Theme.backgroundColor using the Window colorset, matching the pattern used by NavigationPanelComponent.
This commit is contained in:
parent
8c56409f1c
commit
41a64bfe8e
1 changed files with 7 additions and 0 deletions
|
|
@ -176,6 +176,13 @@ ContainmentItem {
|
||||||
LayerShell.Window.exclusionZone: -1
|
LayerShell.Window.exclusionZone: -1
|
||||||
LayerShell.Window.keyboardInteractivity: LayerShell.Window.KeyboardInteractivityOnDemand
|
LayerShell.Window.keyboardInteractivity: LayerShell.Window.KeyboardInteractivityOnDemand
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
anchors.fill: parent
|
||||||
|
Kirigami.Theme.inherit: false
|
||||||
|
Kirigami.Theme.colorSet: Kirigami.Theme.Window
|
||||||
|
color: Kirigami.Theme.backgroundColor
|
||||||
|
}
|
||||||
|
|
||||||
FavouritesBar {
|
FavouritesBar {
|
||||||
id: dockOverlayBar
|
id: dockOverlayBar
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue