fix: mix table init

This commit is contained in:
2025-11-05 09:46:23 +01:00
parent 3dec539b26
commit 5f89d4f109
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -65,10 +65,7 @@
<td><input v-model="config.mix" id="mix" type="range" min="0" max="100" /></td>
<td>
<span v-if="config.mix <= 0">None</span>
<span v-else-if="config.mix <= 25">Maybe</span>
<span v-else-if="config.mix <= 50">Some</span>
<span v-else-if="config.mix <= 75">A lot</span>
<span v-else>Mostly</span>
<span v-else>~{{config.mix}}%</span>
</td>
</tr>
<tr>
+1 -1
View File
@@ -93,7 +93,7 @@ class TableGenerator {
this.minMixScore = 0;
this.maxMixScore = 0;
this.lastIndexes = [];
this.mixTable = this.initMixTable();
this.mixTable = this.initMixTable(seed);
}
initIndexScores() {