on xenial help sign in
Be more specific
e78d482Daniel d'Andrada
qml/Shell.qml+4−2
@@ -719,10 +719,12 @@ Item {
719
719
720 property bool mouseNeverMoved: true
720 property bool mouseNeverMoved: true
721 Binding {
721 Binding {
722− target: cursor; property: "x"; value: shell.width / 2; when: mouseNeverMoved && visible
722+ target: cursor; property: "x"; value: shell.width / 2
723+ when: cursor.mouseNeverMoved && cursor.visible
723 }
724 }
724 Binding {
725 Binding {
725− target: cursor; property: "y"; value: shell.height / 2; when: mouseNeverMoved && visible
726+ target: cursor; property: "y"; value: shell.height / 2
727+ when: cursor.mouseNeverMoved && cursor.visible
726 }
728 }
727
729
728 onPushedLeftBoundary: {
730 onPushedLeftBoundary: {