From 0f0082d48f3af753331d8eab7514c9b6ea8617ae Mon Sep 17 00:00:00 2001 From: DriftKingTW Date: Thu, 19 Dec 2024 02:15:48 +0800 Subject: [PATCH] fix: update output data after macros and re update --- src/App.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App.vue b/src/App.vue index 9f2e686..2e5e165 100644 --- a/src/App.vue +++ b/src/App.vue @@ -696,6 +696,7 @@ const dragleave = () => { const updateMacro = (macros: any) => { combinedConfig.macros = JSON.parse(JSON.stringify(macros)); + updateOutputData(); }; const updaterotaryEncoder = (rotaryEncoder: any) => { @@ -708,6 +709,7 @@ const updaterotaryEncoder = (rotaryEncoder: any) => { layer.keyInfo[row][RE_COL_LIST[col]] = data[index].rotaryInfo[0]; }); }); + updateOutputData(); }; const copyCombinedConfig = () => {