Skip to content

Commit

Permalink
Update AnalysisView.vue
Browse files Browse the repository at this point in the history
The table now keeps the 0-step column for both 0-indexed and 1-indexed, so we can now address #445 if we want.
  • Loading branch information
inthar-raven authored Nov 28, 2023
1 parent cd067d0 commit d07aa9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/AnalysisView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const matrix = computed(() => {
centsFractionDigits: 1,
decimalFractionDigits: 3,
}),

Check warning on line 92 in src/views/AnalysisView.vue

View workflow job for this annotation

GitHub Actions / build (17.x)

Delete `·`
1 - (matrixStartIndex.value)
0
).map((row) => row.map(formatMatrixCell));
});
</script>
Expand All @@ -102,8 +102,8 @@ const matrix = computed(() => {
<table>
<tr>
<th></th>
<th v-for="i of Math.min(scale.size-1+matrixStartIndex, MAX_SCALE_SIZE-1)" :key="i">
{{ i }}
<th v-for="i of Math.min(scale.size, MAX_SCALE_SIZE)" :key="i">
{{ i - 1 + matrixStartIndex }}
</th>
<th>({{ scale.size + matrixStartIndex }})</th>
</tr>
Expand Down

0 comments on commit d07aa9c

Please sign in to comment.