From 94e4c529cb56d9844afc83e5318fa29ec4c8eafa Mon Sep 17 00:00:00 2001 From: ivan tkachenko Date: Tue, 13 Sep 2022 04:05:20 +0300 Subject: [PATCH] Overview: Place mask source inside actual OpacityMask component Just to keep them close to each other. --- src/effects/overview/qml/DesktopBar.qml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/effects/overview/qml/DesktopBar.qml b/src/effects/overview/qml/DesktopBar.qml index 1be36ccfb1..e8b1df7ba4 100644 --- a/src/effects/overview/qml/DesktopBar.qml +++ b/src/effects/overview/qml/DesktopBar.qml @@ -90,13 +90,6 @@ Item { width: bar.desktopWidth height: bar.desktopHeight - Rectangle { - id: mask - anchors.fill: parent - radius: 3 - visible: false - } - DesktopView { id: thumbnail @@ -148,7 +141,11 @@ Item { anchors.fill: parent cached: true source: thumbnail - maskSource: mask + maskSource: Rectangle { + width: bar.desktopWidth + height: bar.desktopHeight + radius: 3 + } } Rectangle {