Skip to content
Snippets Groups Projects
Commit 67a577a4 authored by Pouchet Pierre's avatar Pouchet Pierre
Browse files

On ne peut plus écrire (clavier uniquement pour l'instant) quand on a gagné ou perdu

parent d08fc4af
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment