mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
black panel if there are bg hints
This commit is contained in:
parent
1d1c8a6def
commit
f3cd4698da
1 changed files with 3 additions and 2 deletions
|
|
@ -21,13 +21,14 @@ import QtQuick.Layouts 1.1
|
||||||
|
|
||||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
Item {
|
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
visible: false //adjust borders is run during setup. We want to avoid painting till completed
|
visible: false //adjust borders is run during setup. We want to avoid painting till completed
|
||||||
property Item containment
|
property Item containment
|
||||||
|
|
||||||
|
color: containment.backgroundHints == PlasmaCore.Types.NoBackground ? "transparent" : theme.textColor
|
||||||
|
|
||||||
onContainmentChanged: {
|
onContainmentChanged: {
|
||||||
containment.parent = root;
|
containment.parent = root;
|
||||||
containment.visible = true;
|
containment.visible = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue