diff --git a/src/components/config-editor/components/sections/randomize-config-section.vue b/src/components/config-editor/components/sections/randomize-config-section.vue index b20ca7d..2f67a6c 100644 --- a/src/components/config-editor/components/sections/randomize-config-section.vue +++ b/src/components/config-editor/components/sections/randomize-config-section.vue @@ -63,7 +63,7 @@ const randomizeTypesConfig = () => { -
+
{
-
+
{
-
+
{ const randomizeTypesConfig = (skipSubMatricesOnCross?: number) => { const newConfig = createRandomTypesConfig(randomTypesConfig.value); - if (!randomTypesConfig.value.USE_FREQUENCY_BOUNDS) { + if (!randomTypesConfig.value.USE_FREQUENCY_BOUNDS || skipSubMatricesOnCross !== undefined) { copyConfigListValue(typesConfigRaw.FREQUENCIES, newConfig.FREQUENCIES, 1); } - if (!randomTypesConfig.value.USE_RADIUS_BOUNDS) { + if (!randomTypesConfig.value.USE_RADIUS_BOUNDS || skipSubMatricesOnCross !== undefined) { copyConfigListValue(typesConfigRaw.RADIUS, newConfig.RADIUS, 1); } @@ -233,7 +233,7 @@ export const useConfigStore = defineStore("config", () => { copyConfigMatrixValue(typesConfigRaw.LINK_GRAVITY, newConfig.LINK_GRAVITY, 0, skipSubMatricesOnCross); } - if (!randomTypesConfig.value.USE_LINK_BOUNDS) { + if (!randomTypesConfig.value.USE_LINK_BOUNDS || skipSubMatricesOnCross !== undefined) { copyConfigListValue(typesConfigRaw.LINKS, newConfig.LINKS, 0); }