Compare commits

..

No commits in common. "58db9c65adef35c6ff0fa4388205cfef9ddeb2fd" and "a4aef5903c665a28999d453d07bf9b5143eaa4a3" have entirely different histories.

5 changed files with 11 additions and 25 deletions

View file

@ -2,7 +2,6 @@
--taille-cellule: 48px;
--epaisseur-bordure-cellule: 1px;
--epaisseur-padding-cellule: 2px;
--couleur-bar-max: rgb(231, 0, 42);
--couleur-bien-place: rgb(231, 0, 42);
--couleur-mal-place: rgb(255, 189, 0);
--couleur-fond-grille: rgb(0, 119, 199);
@ -38,9 +37,8 @@ body {
font-family: "Roboto Regular", Ubuntu, Arial, Helvetica, sans-serif;
font-size: 32px;
background-color: var(--couleur-fond);
max-height: 95vh;
height: 95vh;
height: -webkit-fill-available; /* Seulement pour safari et sa flotting bar */
height: 100vh;
min-height: -webkit-fill-available; /* Seulement pour safari et sa flotting bar */
text-align: center;
color: var(--couleur-police);
margin: 0;
@ -159,7 +157,6 @@ h1 {
max-width: 100%;
width: calc(100% - 5px);
max-width: 500px;
user-select: none;
}
.input-ligne {
@ -417,7 +414,7 @@ h1 {
}
.stats-bar.bar-max {
background-color: var(--couleur-bar-max);
background-color: var(--couleur-bien-place);
}
.stats-valeur {

View file

@ -131,7 +131,7 @@ export default class ConfigurationPanel {
contenu.appendChild(
this.genererConfigItem(
"Retour haptique (si votre navigateur est compatible)",
"Retour haptique (si votre navigateur est compatique)",
[
{ value: false.toString(), label: "Non" },
{ value: true.toString(), label: "Oui" },

View file

@ -7,17 +7,6 @@ export default class NotesMaJPanel {
private readonly _panelManager: PanelManager;
private readonly _notes = [
{
version: 512,
notes: [
"Correction du non affichage du bouton Partie de la veille",
"Ajustement de la hauteur du jeu sur certains téléphones",
"Correction de la couleur de la longue barre des statistiques",
"Ajout des couleurs dans les stats pour les terminaux sans emoji",
"Correction d'une coquille dans les options",
"Résolution d'un problème de selection de texte sur le clavier",
],
},
{
version: 500,
notes: [

View file

@ -129,9 +129,9 @@ export default class Sauvegardeur {
veille.setDate(veille.getDate() - 1);
return (
veille.getDate() !== partieVeille.datePartie.getDate() ||
veille.getMonth() !== partieVeille.datePartie.getMonth() ||
veille.getFullYear() !== partieVeille.datePartie.getFullYear() ||
veille.getDate() === partieVeille.datePartie.getDate() &&
veille.getMonth() === partieVeille.datePartie.getMonth() &&
veille.getFullYear() === partieVeille.datePartie.getFullYear() &&
!partieVeille.dateFinPartie
);
}

View file

@ -48,9 +48,9 @@ export default class StatistiquesDisplayer {
statsNumeriques.appendChild(this.creerStatNumerique("Victoires", stats.partiesGagnees, stats.partiesJouees));
statsNumeriques.appendChild(this.creerStatNumerique("Moyenne", this.getMoyenne(stats.repartition)));
statsNumeriques.appendChild(this.creerStatNumerique('Lettres <span class="emoji-carre-rouge">🟥</span>', stats.lettresRepartitions.bienPlace));
statsNumeriques.appendChild(this.creerStatNumerique('Lettres <span class="emoji-cercle-jaune">🟡</span>', stats.lettresRepartitions.malPlace));
statsNumeriques.appendChild(this.creerStatNumerique('Lettres <span class="emoji-carre-bleu">🟦</span>', stats.lettresRepartitions.nonTrouve));
statsNumeriques.appendChild(this.creerStatNumerique("Lettres 🟥", stats.lettresRepartitions.bienPlace));
statsNumeriques.appendChild(this.creerStatNumerique("Lettres 🟡", stats.lettresRepartitions.malPlace));
statsNumeriques.appendChild(this.creerStatNumerique("Lettres 🟦", stats.lettresRepartitions.nonTrouve));
statsArea.appendChild(statsNumeriques);
@ -105,7 +105,7 @@ export default class StatistiquesDisplayer {
const labelDiv = document.createElement("div");
labelDiv.className = "stats-numerique-case-label";
labelDiv.innerHTML = label;
labelDiv.innerText = label;
caseDiv.appendChild(labelDiv);
return caseDiv;