no need to set it like this, restart will handle it

This commit is contained in:
Jack 2021-05-07 15:42:47 +01:00
parent 7fc3b09610
commit 20c5cebc54

View file

@ -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"
// );
},
},
{