aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/RectangularGlow.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/material/RectangularGlow.qml')
-rw-r--r--src/imports/controls/material/RectangularGlow.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/material/RectangularGlow.qml b/src/imports/controls/material/RectangularGlow.qml
index 58e11b9f..c01e536d 100644
--- a/src/imports/controls/material/RectangularGlow.qml
+++ b/src/imports/controls/material/RectangularGlow.qml
@@ -224,7 +224,7 @@ Item {
height: parent.height + rootItem.glowRadius * 2 + cornerRadius * 2
function clampedCornerRadius() {
- var maxCornerRadius = Math.min(rootItem.width, rootItem.height) / 2 + glowRadius;
+ var maxCornerRadius = Math.min(rootItem.width, rootItem.height) / 2 + rootItem.glowRadius;
return Math.max(0, Math.min(rootItem.cornerRadius, maxCornerRadius))
}