mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23: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
|
||||
|
||||
|
||||
Item {
|
||||
Rectangle {
|
||||
id: root
|
||||
|
||||
visible: false //adjust borders is run during setup. We want to avoid painting till completed
|
||||
property Item containment
|
||||
|
||||
color: containment.backgroundHints == PlasmaCore.Types.NoBackground ? "transparent" : theme.textColor
|
||||
|
||||
onContainmentChanged: {
|
||||
containment.parent = root;
|
||||
containment.visible = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue