mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-11 18:04:27 +08:00
no need to set it like this, restart will handle it
This commit is contained in:
parent
7fc3b09610
commit
20c5cebc54
1 changed files with 11 additions and 10 deletions
|
|
@ -1664,16 +1664,17 @@ export let defaultCommands = {
|
|||
input: true,
|
||||
exec: (input) => {
|
||||
UpdateConfig.setCustomLayoutfluid(input);
|
||||
UpdateConfig.setLayout(
|
||||
Config.customLayoutfluid
|
||||
? Config.customLayoutfluid.split("_")[0]
|
||||
: "qwerty"
|
||||
);
|
||||
UpdateConfig.setKeymapLayout(
|
||||
Config.customLayoutfluid
|
||||
? Config.customLayoutfluid.split("_")[0]
|
||||
: "qwerty"
|
||||
);
|
||||
if (Funbox.active === "layoutfluid") TestLogic.restart();
|
||||
// UpdateConfig.setLayout(
|
||||
// Config.customLayoutfluid
|
||||
// ? Config.customLayoutfluid.split("_")[0]
|
||||
// : "qwerty"
|
||||
// );
|
||||
// UpdateConfig.setKeymapLayout(
|
||||
// Config.customLayoutfluid
|
||||
// ? Config.customLayoutfluid.split("_")[0]
|
||||
// : "qwerty"
|
||||
// );
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue