smaller keymap name

This commit is contained in:
Jack 2020-10-30 16:18:42 +00:00 committed by corey
parent 6c4e7399c9
commit f1993fc8a1
2 changed files with 2 additions and 2 deletions

View file

@ -3058,6 +3058,7 @@ key {
.r5 {
display: grid;
grid-template-columns: 3.5fr 6fr 3.5fr;
font-size: 0.5rem;
// &.matrixSpace {
// // grid-template-columns: 6.75fr 1.9fr 6.75fr;
// grid-template-columns: 6.9fr 4.6fr 6.9fr; // wider spacebar

View file

@ -1764,7 +1764,6 @@ function showResult(difficultyFailed = false) {
time = secondsToString(roundTo2(testtime));
}
$("#result .stats .time .bottom .text").text(time);
$("#result .stats .raw .bottom").removeAttr("aria-label");
$("#result .stats .acc .bottom").removeAttr("aria-label");
$("#result .stats .time .bottom").attr(
@ -1786,7 +1785,7 @@ function showResult(difficultyFailed = false) {
$("#result .stats .wpm .top").text("cpm");
$("#result .stats .wpm .bottom").attr(
"aria-label",
stats.wpm + ` (${roundTo2(stats.wpm)} wpm)`
stats.wpm * 5 + ` (${roundTo2(stats.wpm)} wpm)`
);
$("#result .stats .wpm .bottom").text(Math.round(stats.wpm * 5));
$("#result .stats .raw .bottom").text(Math.round(stats.wpmRaw * 5));