on xenial help sign in
Don't dim screen when the indicators are open Fixes: #1564342

Approved by: Michael Zanetti

commitf003a85f16602ea60239646641b7613c8a3ad61a authorLukáš Tinkl <lukas.tinkl@canonical.com> dateFri 20 May 2016, 08:43 (10 years ago) parent5157af3c2c283e
1 file changed+6−15
qml/Panel/Panel.qml+6−15
qml/Panel/Panel.qml+6−15
@@ -30,22 +30,13 @@ Item {
3030 property real indicatorAreaShowProgress: 1.0
3131 property bool locked: false
3232
33− Rectangle {
34− id: darkenedArea
35− property real darkenedOpacity: 0.6
36− anchors {
37− fill: parent
38− topMargin: panelHeight
39− }
40− color: "black"
41− opacity: indicators.unitProgress * darkenedOpacity
33+ MouseArea {
34+ anchors.fill: parent
35+ anchors.topMargin: panelHeight
4236 visible: !indicators.fullyClosed
43−
44− MouseArea {
45− anchors.fill: parent
46− onClicked: if (indicators.fullyOpened) indicators.hide();
47− hoverEnabled: true // should also eat hover events, otherwise they will pass through
48− }
37+ enabled: visible
38+ onClicked: if (indicators.fullyOpened) indicators.hide();
39+ hoverEnabled: true // should also eat hover events, otherwise they will pass through
4940 }
5041
5142 Binding {