Overview: Place mask source inside actual OpacityMask component

Just to keep them close to each other.
This commit is contained in:
ivan tkachenko 2022-09-13 04:05:20 +03:00
parent d6ee83bf90
commit 94e4c529cb
No known key found for this signature in database
GPG key ID: AF72731B7C654CB3

View file

@ -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 {