@@ -50,7 +50,7 @@ Item {
5050 priv.handlePressedChanged(recognizedDrag, tp.x, tp.y);
5151 }
5252
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)
5454 onUpdated: {
5555 priv.handlePositionChanged(tp.x, tp.y)
5656 }
@@ -102,11 +102,12 @@ Item {
102102 id: overlay
103103 objectName: "windowControlsOverlay"
104104 anchors.fill: parent
105− visible: target.surface == MirFocusController.focusedSurface && overlayTimer.running
106− opacity: visible ? 0.95 : 0
105+ enabled: target.surface == MirFocusController.focusedSurface && overlayTimer.running
106+ visible: opacity > 0
107+ opacity: enabled ? 0.95 : 0
107108
108109 Behavior on opacity {
109− OpacityAnimator { duration: UbuntuAnimation.FastDuration; easing: UbuntuAnimation.StandardEasing }
110+ UbuntuNumberAnimation {}
110111 }
111112
112113 readonly property bool anyMaximized: target && (target.maximized || target.maximizedLeft || target.maximizedRight)