diff --git a/Motus/Main.qml b/Motus/Main.qml index 8efa56171d798cd17af810748d02ec65b4b26091..f3c3098b11295197fe52e19a61a5f063ec19df4b 100644 --- a/Motus/Main.qml +++ b/Motus/Main.qml @@ -269,6 +269,7 @@ Window { _textText: "Français" rectangleColor: "#7a7a7a" MouseArea { + enabled: motusGame && (motusGame.win || motusGame.loosetry || motusGame.loosetime || !motusGame.debut) anchors.left: parent.left anchors.top: parent.top anchors.bottom: parent.bottom @@ -289,6 +290,7 @@ Window { _textText: "English" rectangleColor: "green" MouseArea { + enabled: motusGame && (motusGame.win || motusGame.loosetry || motusGame.loosetime || !motusGame.debut) anchors.fill: parent cursorShape: Qt.PointingHandCursor onClicked: { @@ -328,6 +330,7 @@ Window { id: numberLetterBtn width: parent.width height: 60 + } } } @@ -460,6 +463,7 @@ Window { } MouseArea { anchors.fill: parent + cursorShape: Qt.PointingHandCursor onClicked: { if (modelData === "<") { if (indice_case > 0) {