From 67a577a4cb2594251036b366b42d45d9f2e959c5 Mon Sep 17 00:00:00 2001
From: ppouchet <pierre.pouchet@etu.ec-lyon.fr>
Date: Mon, 31 Mar 2025 11:20:12 +0200
Subject: [PATCH] =?UTF-8?q?On=20ne=20peut=20plus=20=C3=A9crire=20(clavier?=
 =?UTF-8?q?=20uniquement=20pour=20l'instant)=20quand=20on=20a=20gagn=C3=A9?=
 =?UTF-8?q?=20ou=20perdu?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Motus/Main.qml | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/Motus/Main.qml b/Motus/Main.qml
index 921c635..802113c 100644
--- a/Motus/Main.qml
+++ b/Motus/Main.qml
@@ -43,7 +43,7 @@ Window {
 
         // Gestion des touches du clavier physique
         Keys.onPressed: function(event) {
-            if (mot !== "") {
+            if (mot !== "" && !motusGame.loose && !motusGame.win) {
                 // Saisie d'une lettre (de A à Z)
                 if (/^[a-zA-Z]$/.test(event.text)) {
                     if (indice_case < nb_lettres) {
@@ -471,16 +471,6 @@ Window {
                     anchors.horizontalCenter: parent.horizontalCenter
                     spacing: 20
 
-                    Rectangle {
-                        id: rectangle_combobox
-                        width: 193
-                        height: 60
-                        color: "#323232"
-                        radius: 10
-                        border.color: "#ffffff"
-                        border.width: 3
-                    }
-
                     MotusTimer {
                         id: motusTimer
                         width: 100
-- 
GitLab