mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-14 09:36:00 +08:00
you can now click the keymap space to change keymap layout
This commit is contained in:
parent
e2f41c6f42
commit
aaf6e6b00e
2 changed files with 12 additions and 0 deletions
|
@ -5213,6 +5213,11 @@ $(document).on("click", "#bottom .leftright .right .current-theme", (e) => {
|
|||
showCommandLine();
|
||||
});
|
||||
|
||||
$(document).on("click", ".keymap .r5 #KeySpace", (e) => {
|
||||
currentCommands.push(commandsKeymapLayouts);
|
||||
showCommandLine();
|
||||
});
|
||||
|
||||
$(document).on("mouseleave", "#resultWordsHistory .words .word", (e) => {
|
||||
$(".wordInputAfter").remove();
|
||||
});
|
||||
|
|
|
@ -3016,6 +3016,13 @@ key {
|
|||
}
|
||||
}
|
||||
|
||||
&#KeySpace {
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
color: var(--main-color);
|
||||
}
|
||||
}
|
||||
|
||||
&#KeySpace,
|
||||
&#KeySpace2 {
|
||||
width: 100%;
|
||||
|
|
Loading…
Add table
Reference in a new issue