mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 23:36:37 +08:00
parent
56aaa3dc2a
commit
28c7d1a613
|
@ -628,3 +628,8 @@ $(document).on("click", "#commandLineMobileButton", () => {
|
|||
}
|
||||
show();
|
||||
});
|
||||
|
||||
$(document).on("click", ".keymap .r5 #KeySpace", (e) => {
|
||||
CommandlineLists.setCurrent([CommandlineLists.commandsKeymapLayouts]);
|
||||
show();
|
||||
});
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
import Config, * as UpdateConfig from "../config";
|
||||
import * as ThemeColors from "./theme-colors";
|
||||
import layouts from "../test/layouts";
|
||||
import * as CommandlineLists from "./commandline-lists";
|
||||
import * as Commandline from "./commandline";
|
||||
import * as SlowTimer from "../states/slow-timer";
|
||||
|
||||
export function highlightKey(currentKey) {
|
||||
|
@ -264,11 +262,6 @@ export function refreshKeys(layout) {
|
|||
}
|
||||
}
|
||||
|
||||
$(document).on("click", ".keymap .r5 #KeySpace", (e) => {
|
||||
CommandlineLists.setCurrent([CommandlineLists.commandsKeymapLayouts]);
|
||||
Commandline.show();
|
||||
});
|
||||
|
||||
$(document).ready(() => {
|
||||
UpdateConfig.subscribeToEvent((eventKey, eventValue) => {
|
||||
if (eventKey === "layout" && Config.keymapLayout === "overrideSync")
|
||||
|
|
Loading…
Reference in a new issue