@@ -50,7 +50,7 @@ Item {
50 priv.handlePressedChanged(recognizedDrag, tp.x, tp.y);
50 priv.handlePressedChanged(recognizedDrag, tp.x, tp.y);
53− readonly property point tp: Qt.point(touchPoints[0].x, touchPoints[0].y);
53+ readonly property point tp: recognizedPress ? Qt.point(touchPoints[0].x, touchPoints[0].y) : Qt.point(-1, -1)
54 onUpdated: {
54 onUpdated: {
55 priv.handlePositionChanged(tp.x, tp.y)
55 priv.handlePositionChanged(tp.x, tp.y)
@@ -102,11 +102,12 @@ Item {
102 id: overlay
102 id: overlay
103 objectName: "windowControlsOverlay"
103 objectName: "windowControlsOverlay"
104 anchors.fill: parent
104 anchors.fill: parent
105− visible: target.surface == MirFocusController.focusedSurface && overlayTimer.running
105+ enabled: target.surface == MirFocusController.focusedSurface && overlayTimer.running
106+ visible: opacity > 0
106− opacity: visible ? 0.95 : 0
107+ opacity: enabled ? 0.95 : 0
108 Behavior on opacity {
109 Behavior on opacity {
109− OpacityAnimator { duration: UbuntuAnimation.FastDuration; easing: UbuntuAnimation.StandardEasing }
110+ UbuntuNumberAnimation {}
112 readonly property bool anyMaximized: target && (target.maximized || target.maximizedLeft || target.maximizedRight)
113 readonly property bool anyMaximized: target && (target.maximized || target.maximizedLeft || target.maximizedRight)