@@ -30,22 +30,13 @@ Item {
30 property real indicatorAreaShowProgress: 1.0
30 property real indicatorAreaShowProgress: 1.0
31 property bool locked: false
31 property bool locked: false
33− Rectangle {
33+ MouseArea {
35− property real darkenedOpacity: 0.6
37− fill: parent
34+ anchors.fill: parent
38− topMargin: panelHeight
35+ anchors.topMargin: panelHeight
41− opacity: indicators.unitProgress * darkenedOpacity
42 visible: !indicators.fullyClosed
36 visible: !indicators.fullyClosed
46− onClicked: if (indicators.fullyOpened) indicators.hide();
38+ onClicked: if (indicators.fullyOpened) indicators.hide();
47− hoverEnabled: true // should also eat hover events, otherwise they will pass through
39+ hoverEnabled: true // should also eat hover events, otherwise they will pass through