Skip to content

Commit

Permalink
Randomize with symmetric logic fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Smoren committed May 4, 2024
1 parent c9fcbc9 commit cf7d988
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/store/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,10 @@ export const useConfigStore = defineStore("config", () => {
flash.turnOn(FLASH_IMPORT_STARTED);
setTypesConfig(newConfig);
setTypesConfigRaw(newConfig);
setSymmetricTypesConfig(randomTypesConfig.value);

if (skipSubMatricesBoundaryIndex === undefined) {
setSymmetricTypesConfig(randomTypesConfig.value);
}
}

const setDefaultTypesConfig = <T>() => {
Expand Down

0 comments on commit cf7d988

Please sign in to comment.