Skip to content

Commit

Permalink
Fix total
Browse files Browse the repository at this point in the history
  • Loading branch information
Dianliang233 committed Jan 17, 2024
1 parent 1f4e743 commit ac57af7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/blockDistribution/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ function plot(
const marginLeft = 60
const totalPoints: Block[] = []
if (blockMapFiltered.length > 1 && showTotal) {
if (enabledBlocks.value.length > 1 && showTotal) {
// Also add a group for the total count.
const total = []
for (let i = domain[0]; i <= domain[1]; i++) {
Expand Down

0 comments on commit ac57af7

Please sign in to comment.