Verified Commit 94e4c529 authored by ivan tkachenko's avatar ivan tkachenko
Browse files

Overview: Place mask source inside actual OpacityMask component

Just to keep them close to each other.
parent d6ee83bf
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment