Skip to content

Commit

Permalink
fix: Peaks not align vertically in stack mode
Browse files Browse the repository at this point in the history
close #1026
  • Loading branch information
hamed-musallam committed May 6, 2021
1 parent 54907de commit 8d2bf59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/1d/PeaksNotations.jsx
Expand Up @@ -14,7 +14,7 @@ function PeaksNotations() {
const i = data.findIndex((d) => d.id === id);
return verticalAlign.flag
? verticalAlign.stacked
? (i + 1) * verticalAlign.value
? i * verticalAlign.value
: 0
: 0;
};
Expand Down

0 comments on commit 8d2bf59

Please sign in to comment.