Use real buttons in Keyboard

pull/97/head
Lynn 2022-02-12 19:01:33 +01:00
rodzic 351c05f1bc
commit b3d5de01f7
3 zmienionych plików z 8 dodań i 8 usunięć

Wyświetl plik

@ -106,6 +106,7 @@ table.Game-rows > tbody {
flex: 1;
align-items: center;
justify-content: center;
font-family: inherit;
font-size: 20px;
color: inherit;
text-decoration: inherit;

Wyświetl plik

@ -29,17 +29,16 @@ export function Keyboard(props: KeyboardProps) {
className += " Game-keyboard-button-wide";
}
return (
<div
<button
tabIndex={-1}
key={j}
role="button"
className={className}
onClick={() => {
props.onKey(label);
}}
>
{label.replace("Backspace", "⌫")}
</div>
</button>
);
})}
</div>

Wyświetl plik

@ -8108,11 +8108,11 @@
"jewel",
"infamous",
"betrayal",
"mater",
"*****",
"hither",
"lament",
"arrogant",
"anode",
"*****",
"postage",
"genetically",
"dictator",
@ -8928,7 +8928,7 @@
"*********",
"suburb",
"clearness",
"droit",
"*****",
"multiplier",
"cove",
"pavilion",
@ -11480,7 +11480,7 @@
"gallantry",
"omnipotent",
"intractable",
"dusky",
"*****",
"carcass",
"indulgent",
"monies",
@ -13288,7 +13288,7 @@
"milestone",
"dowager",
"periodicity",
"bushy",
"*****",
"trop",
"minimization",
"supersede",