on xenial help sign in
fix dismissing the launcher when clicking/tapping outside

in the darkened area

commitef9f5877a1bc59bd2d6b5141e75766be8ff15d27 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateTue 5 Jan 2016, 15:32 (11 years ago) parent88c6f00
1 file changed+6−10
qml/Launcher/Launcher.qml+6−10
qml/Launcher/Launcher.qml+6−10
@@ -184,18 +184,14 @@ Item {
184184 }
185185 }
186186
187− MultiPointTouchArea {
187+ InverseMouseArea {
188188 id: closeMouseArea
189− anchors {
190− left: launcherDragArea.right
191− top: parent.top
192− right: parent.right
193− bottom: parent.bottom
194− }
189+ anchors.fill: panel
190+ sensingArea: root
195191 enabled: root.shadeBackground && root.state == "visible"
196− visible: enabled // otherwise it will get in the way of cursor selection for some reason
197− onPressed: {
198− root.state = ""
192+ visible: enabled
193+ onClicked: {
194+ root.switchToNextState("");
199195 }
200196 }
201197