From 3c7773bf2a7649fa67e34788e3c810c53106e931 Mon Sep 17 00:00:00 2001 From: ppouchet <pierre.pouchet@etu.ec-lyon.fr> Date: Mon, 31 Mar 2025 11:49:11 +0200 Subject: [PATCH] =?UTF-8?q?Correction=20sur=20conditions=20d'apparition=20?= =?UTF-8?q?de=20texte=20de=20victoire/d=C3=A9faite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Motus/Main.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Motus/Main.qml b/Motus/Main.qml index 1c119a4..000a85b 100644 --- a/Motus/Main.qml +++ b/Motus/Main.qml @@ -502,7 +502,7 @@ Window { Text { y: 32 text: "Temps écoulé ! Mot : "+mot - visible: motusGame.loosetime + visible: motusGame && motusGame.loosetime color: "red" font.pixelSize: 30 anchors.horizontalCenter: parent.horizontalCenter @@ -511,7 +511,7 @@ Window { Text { y: 32 text: "Nombre d'essais maximum atteint ! Mot : "+mot - visible: motusGame.loosetry + visible: motusGame && motusGame.loosetry color: "red" font.pixelSize: 30 anchors.horizontalCenter: parent.horizontalCenter @@ -520,7 +520,7 @@ Window { Text { y: 32 text: "Gagné !" - visible: motusGame.win + visible: motusGame && motusGame.win color: "green" font.pixelSize: 30 anchors.horizontalCenter: parent.horizontalCenter -- GitLab