diff --git a/src/js/commandline-lists.js b/src/js/commandline-lists.js index 4cd107ee5..f99bb5821 100644 --- a/src/js/commandline-lists.js +++ b/src/js/commandline-lists.js @@ -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" + // ); }, }, {