Skip to content

Commit

Permalink
fix: y scale was not refreshed after applying FFT Filter
Browse files Browse the repository at this point in the history
close #1430
  • Loading branch information
hamed-musallam committed Mar 18, 2022
1 parent 445bb5a commit 011ef72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/reducer/actions/FiltersActions.ts
Expand Up @@ -60,7 +60,7 @@ function applyFFTFilter(draft: Draft<State>) {
resetSelectedTool(draft);
changeSpectrumVerticalAlignment(draft, { align: 'bottom' });

setDomain(draft);
setDomain(draft, { yDomain: { isChanged: true } });
setMode(draft);
}
}
Expand Down

0 comments on commit 011ef72

Please sign in to comment.