mirror of
https://framagit.org/JonathanMM/sutom.git
synced 2024-05-05 23:43:36 +02:00
Mise à jour du clavier une fois le mot validé
This commit is contained in:
parent
75ee5288bd
commit
a2fcfad658
|
@ -100,12 +100,12 @@ export default class Gestionnaire {
|
|||
this._grille.validerMot(mot, resultats, isBonneReponse, skipAnimation, () => {
|
||||
this._input.updateClavier(resultats);
|
||||
if (isBonneReponse || this._propositions.length === this._maxNbPropositions) {
|
||||
this._input.bloquer();
|
||||
this._victoirePanel.afficher(isBonneReponse, this._motATrouver);
|
||||
}
|
||||
});
|
||||
|
||||
if (isBonneReponse || this._propositions.length === this._maxNbPropositions) {
|
||||
this._input.bloquer();
|
||||
this._victoirePanel.genererResume(isBonneReponse, this._resultats);
|
||||
this.enregistrerPartieDansStats();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue