on xenial help sign in
fix dismissing the launcher when clicking/tapping outside
ef9f587Lukáš Tinkl
qml/Launcher/Launcher.qml+6−10
@@ -184,18 +184,14 @@ Item {
184 }
184 }
185 }
185 }
186
186
187− MultiPointTouchArea {
187+ InverseMouseArea {
188 id: closeMouseArea
188 id: closeMouseArea
189− anchors {
189+ anchors.fill: panel
190− left: launcherDragArea.right
190+ sensingArea: root
191− top: parent.top
192− right: parent.right
193− bottom: parent.bottom
194− }
195 enabled: root.shadeBackground && root.state == "visible"
191 enabled: root.shadeBackground && root.state == "visible"
196− visible: enabled // otherwise it will get in the way of cursor selection for some reason
192+ visible: enabled
197− onPressed: {
193+ onClicked: {
198− root.state = ""
194+ root.switchToNextState("");
199 }
195 }
200 }
196 }
201
197