on xenial help sign in
quick'n'dirty way to open/close the indicators via mouse
commit0202105280f329a06a6260c9d641095b593c6088 authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 20 Feb 2015, 12:25 (12 years ago) parent535b1f1
1 file changed+15
qml/Panel/IndicatorsMenu.qml+15
qml/Panel/IndicatorsMenu.qml+15
@@ -162,6 +162,15 @@ Showable {
162162 onScroll: bar.addScrollOffset(scrollAmount);
163163 }
164164
165+ MouseArea {
166+ anchors.fill: __showDragHandle
167+ enabled: __showDragHandle.enabled
168+ onClicked: {
169+ bar.selectItemAt(mouseX)
170+ root.show()
171+ }
172+ }
173+
165174 DragHandle {
166175 id: __showDragHandle
167176 anchors.bottom: parent.bottom
@@ -182,6 +191,12 @@ Showable {
182191 hintDisplacement: enableHint ? expandedPanelHeight - minimizedPanelHeight + handle.height : 0
183192 }
184193
194+ MouseArea {
195+ anchors.fill: __hideDragHandle
196+ enabled: __hideDragHandle.enabled
197+ onClicked: root.hide()
198+ }
199+
185200 DragHandle {
186201 id: __hideDragHandle
187202 anchors.fill: handle