@@ -167,6 +167,7 @@ FocusScope {
167167 }
168168
169169 Rectangle {
170+ id: scopeBackground
170171 anchors.fill: parent
171172 color: scopeView.scopeStyle ? scopeView.scopeStyle.background : "transparent"
172173 visible: color != "transparent"
@@ -657,6 +658,7 @@ FocusScope {
657658 target: categoryView
658659
659660 readonly property real contentY: categoryView.contentY - categoryView.originY
661+ readonly property real scopeBackgroundLuminance: scopeBackground.visible ? Style.luminance(scopeBackground.color) : 1.0
660662 y: -contentY - units.gu(5)
661663
662664 onRefresh: {