From a60fbe43221fdc77f09f7215baed062f38a87192 Mon Sep 17 00:00:00 2001 From: ppouchet <pierre.pouchet@etu.ec-lyon.fr> Date: Mon, 31 Mar 2025 19:05:00 +0200 Subject: [PATCH] petit ajustement sur les boutons --- Motus/Main.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Motus/Main.qml b/Motus/Main.qml index 8efa561..f3c3098 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) { -- GitLab