on xenial help sign in
Make showTapped not pass the position up
05e4395Albert Astals Cid
qml/Panel/IndicatorsMenu.qml+2−2
@@ -40,7 +40,7 @@ Showable {
40 property bool showOnClick: true
40 property bool showOnClick: true
41 property color panelColor: "#292929"
41 property color panelColor: "#292929"
42
42
43− signal showTapped(point position)
43+ signal showTapped()
44
44
45 // TODO: Perhaps we need a animation standard for showing/hiding? Each showable seems to
45 // TODO: Perhaps we need a animation standard for showing/hiding? Each showable seems to
46 // use its own values. Need to ask design about this.
46 // use its own values. Need to ask design about this.
@@ -196,7 +196,7 @@ Showable {
196 } else {
196 } else {
197 var touchReleaseTime = new Date().getTime();
197 var touchReleaseTime = new Date().getTime();
198 if (touchReleaseTime - touchPressTime <= 300) {
198 if (touchReleaseTime - touchPressTime <= 300) {
199− root.showTapped(Qt.point(touchSceneX, touchSceneY));
199+ root.showTapped();
200 }
200 }
201 }
201 }
202 }
202 }