Overview: Place mask source inside actual OpacityMask component
Just to keep them close to each other.
This commit is contained in:
parent
d6ee83bf90
commit
94e4c529cb
1 changed files with 5 additions and 8 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue