fixed bump being on the wrong key

This commit is contained in:
Miodec 2022-02-20 02:08:26 +01:00
parent 543f417406
commit 759f19c0ed

View file

@ -153,7 +153,7 @@ export async function refresh(
)
continue;
const key = rowKeys[i];
const bump = row === "row3" && (i === 3 || i === 7) ? true : false;
const bump = row === "row3" && (i === 3 || i === 6) ? true : false;
const keyElement = `<div class="keymap-key" data-key="${key}">
<span class="letter">${key[0]}</span>
${bump ? "<div class='bump'></div>" : ""}