Fix d'un bug suite au changement de la couleurs du background, lorsqu'on retourne dans le menu principal.

This commit is contained in:
2025-11-26 09:07:56 -05:00
parent a8121afad1
commit 97d72b9246
4 changed files with 12 additions and 3 deletions

View File

@@ -28,6 +28,7 @@ int main() {
while (quitter == false) {
curseur(false);
backgroundDefault();
afficherMenu("AfficheMenu/Taxon.txt");
int choixMenu = _getch();
@@ -37,6 +38,8 @@ int main() {
afficherMenu("AfficheMenu/TaxonOption1.txt");
delai();
curseur(true);
system("cls");
background(temp);
choisirMot("Mots/mot3lettres.txt", nbMot3lettre);
break;
@@ -44,6 +47,7 @@ int main() {
afficherMenu("AfficheMenu/TaxonOption2.txt");
delai();
curseur(true);
system("cls");
temp = demanderBackground();
background(temp);
break;