Skip to content

Commit

Permalink
fix: update output data after macros and re update
Browse files Browse the repository at this point in the history
  • Loading branch information
DriftKingTW committed Dec 18, 2024
1 parent e242813 commit 0f0082d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,7 @@ const dragleave = () => {
const updateMacro = (macros: any) => {
combinedConfig.macros = JSON.parse(JSON.stringify(macros));
updateOutputData();
};
const updaterotaryEncoder = (rotaryEncoder: any) => {
Expand All @@ -708,6 +709,7 @@ const updaterotaryEncoder = (rotaryEncoder: any) => {
layer.keyInfo[row][RE_COL_LIST[col]] = data[index].rotaryInfo[0];
});
});
updateOutputData();
};
const copyCombinedConfig = () => {
Expand Down

0 comments on commit 0f0082d

Please sign in to comment.