summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/effects/DropShadow.qml1
-rw-r--r--src/effects/Glow.qml1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/effects/DropShadow.qml b/src/effects/DropShadow.qml
index 538faf6..52cb409 100644
--- a/src/effects/DropShadow.qml
+++ b/src/effects/DropShadow.qml
@@ -391,6 +391,7 @@ Item {
SourceProxy {
id: sourceProxy
input: rootItem.source
+ sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0)
}
ShaderEffect {
anchors.fill: parent
diff --git a/src/effects/Glow.qml b/src/effects/Glow.qml
index c95c846..024915b 100644
--- a/src/effects/Glow.qml
+++ b/src/effects/Glow.qml
@@ -295,6 +295,7 @@ Item {
SourceProxy {
id: sourceProxy
input: rootItem.source
+ sourceRect: rootItem.transparentBorder ? Qt.rect(-1, -1, parent.width + 2.0, parent.height + 2.0) : Qt.rect(0, 0, 0, 0)
}
ShaderEffect {
anchors.fill: parent