Commit af77b72a authored by abgr's avatar abgr
Browse files

fixed border issue in sddm blur

parent e5d8e8dc
......@@ -90,14 +90,7 @@ Rectangle {
anchors.centerIn: parent
color: "transparent"
MaskedBlur {
anchors.fill: parent
source: effect_source
maskSource: mask
radius: 80
samples: 161
}
// grab background as source for blur behind greeter
ShaderEffectSource {
id: effect_source
anchors.fill: background
......@@ -105,6 +98,16 @@ Rectangle {
sourceRect: Qt.rect(greeter.x,greeter.y, greeter.width, greeter.height)
}
// blur it, this is a rectangle without rounded corners
FastBlur {
id: blur
anchors.fill: parent
source: effect_source
radius: 80
visible: false
}
// mask with rounded corners
BorderImage {
id: mask
anchors.fill: parent
......@@ -117,6 +120,13 @@ Rectangle {
visible: false
}
// now we have a blurred area with rounded corners
OpacityMask {
anchors.fill: parent
source: blur
maskSource: mask
}
BorderImage {
anchors.fill: parent
border.left: 5
......
......@@ -90,14 +90,7 @@ Rectangle {
anchors.centerIn: parent
color: "transparent"
MaskedBlur {
anchors.fill: parent
source: effect_source
maskSource: mask
radius: 80
samples: 161
}
// grab background as source for blur behind greeter
ShaderEffectSource {
id: effect_source
anchors.fill: background
......@@ -105,6 +98,16 @@ Rectangle {
sourceRect: Qt.rect(greeter.x,greeter.y, greeter.width, greeter.height)
}
// blur it, this is a rectangle without rounded corners
FastBlur {
id: blur
anchors.fill: parent
source: effect_source
radius: 80
visible: false
}
// mask with rounded corners
BorderImage {
id: mask
anchors.fill: parent
......@@ -117,6 +120,13 @@ Rectangle {
visible: false
}
// now we have a blurred area with rounded corners
OpacityMask {
anchors.fill: parent
source: blur
maskSource: mask
}
BorderImage {
anchors.fill: parent
border.left: 5
......
......@@ -90,14 +90,7 @@ Rectangle {
anchors.centerIn: parent
color: "transparent"
MaskedBlur {
anchors.fill: parent
source: effect_source
maskSource: mask
radius: 80
samples: 161
}
// grab background as source for blur behind greeter
ShaderEffectSource {
id: effect_source
anchors.fill: background
......@@ -105,6 +98,16 @@ Rectangle {
sourceRect: Qt.rect(greeter.x,greeter.y, greeter.width, greeter.height)
}
// blur it, this is a rectangle without rounded corners
FastBlur {
id: blur
anchors.fill: parent
source: effect_source
radius: 80
visible: false
}
// mask with rounded corners
BorderImage {
id: mask
anchors.fill: parent
......@@ -117,6 +120,13 @@ Rectangle {
visible: false
}
// now we have a blurred area with rounded corners
OpacityMask {
anchors.fill: parent
source: blur
maskSource: mask
}
BorderImage {
anchors.fill: parent
border.left: 5
......
......@@ -90,14 +90,7 @@ Rectangle {
anchors.centerIn: parent
color: "transparent"
MaskedBlur {
anchors.fill: parent
source: effect_source
maskSource: mask
radius: 80
samples: 161
}
// grab background as source for blur behind greeter
ShaderEffectSource {
id: effect_source
anchors.fill: background
......@@ -105,6 +98,16 @@ Rectangle {
sourceRect: Qt.rect(greeter.x,greeter.y, greeter.width, greeter.height)
}
// blur it, this is a rectangle without rounded corners
FastBlur {
id: blur
anchors.fill: parent
source: effect_source
radius: 80
visible: false
}
// mask with rounded corners
BorderImage {
id: mask
anchors.fill: parent
......@@ -117,6 +120,13 @@ Rectangle {
visible: false
}
// now we have a blurred area with rounded corners
OpacityMask {
anchors.fill: parent
source: blur
maskSource: mask
}
BorderImage {
anchors.fill: parent
border.left: 5
......
......@@ -90,14 +90,7 @@ Rectangle {
anchors.centerIn: parent
color: "transparent"
MaskedBlur {
anchors.fill: parent
source: effect_source
maskSource: mask
radius: 80
samples: 161
}
// grab background as source for blur behind greeter
ShaderEffectSource {
id: effect_source
anchors.fill: background
......@@ -105,6 +98,16 @@ Rectangle {
sourceRect: Qt.rect(greeter.x,greeter.y, greeter.width, greeter.height)
}
// blur it, this is a rectangle without rounded corners
FastBlur {
id: blur
anchors.fill: parent
source: effect_source
radius: 80
visible: false
}
// mask with rounded corners
BorderImage {
id: mask
anchors.fill: parent
......@@ -117,6 +120,13 @@ Rectangle {
visible: false
}
// now we have a blurred area with rounded corners
OpacityMask {
anchors.fill: parent
source: blur
maskSource: mask
}
BorderImage {
anchors.fill: parent
border.left: 5
......
......@@ -90,14 +90,7 @@ Rectangle {
anchors.centerIn: parent
color: "transparent"
MaskedBlur {
anchors.fill: parent
source: effect_source
maskSource: mask
radius: 80
samples: 161
}
// grab background as source for blur behind greeter
ShaderEffectSource {
id: effect_source
anchors.fill: background
......@@ -105,6 +98,16 @@ Rectangle {
sourceRect: Qt.rect(greeter.x,greeter.y, greeter.width, greeter.height)
}
// blur it, this is a rectangle without rounded corners
FastBlur {
id: blur
anchors.fill: parent
source: effect_source
radius: 80
visible: false
}
// mask with rounded corners
BorderImage {
id: mask
anchors.fill: parent
......@@ -117,6 +120,13 @@ Rectangle {
visible: false
}
// now we have a blurred area with rounded corners
OpacityMask {
anchors.fill: parent
source: blur
maskSource: mask
}
BorderImage {
anchors.fill: parent
border.left: 5
......
......@@ -90,14 +90,7 @@ Rectangle {
anchors.centerIn: parent
color: "transparent"
MaskedBlur {
anchors.fill: parent
source: effect_source
maskSource: mask
radius: 80
samples: 161
}
// grab background as source for blur behind greeter
ShaderEffectSource {
id: effect_source
anchors.fill: background
......@@ -105,6 +98,16 @@ Rectangle {
sourceRect: Qt.rect(greeter.x,greeter.y, greeter.width, greeter.height)
}
// blur it, this is a rectangle without rounded corners
FastBlur {
id: blur
anchors.fill: parent
source: effect_source
radius: 80
visible: false
}
// mask with rounded corners
BorderImage {
id: mask
anchors.fill: parent
......@@ -117,6 +120,13 @@ Rectangle {
visible: false
}
// now we have a blurred area with rounded corners
OpacityMask {
anchors.fill: parent
source: blur
maskSource: mask
}
BorderImage {
anchors.fill: parent
border.left: 5
......
......@@ -90,14 +90,7 @@ Rectangle {
anchors.centerIn: parent
color: "transparent"
MaskedBlur {
anchors.fill: parent
source: effect_source
maskSource: mask
radius: 80
samples: 161
}
// grab background as source for blur behind greeter
ShaderEffectSource {
id: effect_source
anchors.fill: background
......@@ -105,6 +98,16 @@ Rectangle {
sourceRect: Qt.rect(greeter.x,greeter.y, greeter.width, greeter.height)
}
// blur it, this is a rectangle without rounded corners
FastBlur {
id: blur
anchors.fill: parent
source: effect_source
radius: 80
visible: false
}
// mask with rounded corners
BorderImage {
id: mask
anchors.fill: parent
......@@ -117,6 +120,13 @@ Rectangle {
visible: false
}
// now we have a blurred area with rounded corners
OpacityMask {
anchors.fill: parent
source: blur
maskSource: mask
}
BorderImage {
anchors.fill: parent
border.left: 5
......
......@@ -90,14 +90,7 @@ Rectangle {
anchors.centerIn: parent
color: "transparent"
MaskedBlur {
anchors.fill: parent
source: effect_source
maskSource: mask
radius: 80
samples: 161
}
// grab background as source for blur behind greeter
ShaderEffectSource {
id: effect_source
anchors.fill: background
......@@ -105,6 +98,16 @@ Rectangle {
sourceRect: Qt.rect(greeter.x,greeter.y, greeter.width, greeter.height)
}
// blur it, this is a rectangle without rounded corners
FastBlur {
id: blur
anchors.fill: parent
source: effect_source
radius: 80
visible: false
}
// mask with rounded corners
BorderImage {
id: mask
anchors.fill: parent
......@@ -117,6 +120,13 @@ Rectangle {
visible: false
}
// now we have a blurred area with rounded corners
OpacityMask {
anchors.fill: parent
source: blur
maskSource: mask
}
BorderImage {
anchors.fill: parent
border.left: 5
......
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