Skip to content

Commit

Permalink
fix: Center and stacked function/icon for FID files
Browse files Browse the repository at this point in the history
close  #1267
  • Loading branch information
hamed-musallam committed Oct 14, 2021
1 parent 199418b commit 0e22f8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/component/reducer/actions/LoadActions.ts
Expand Up @@ -102,6 +102,7 @@ function handleLoadMOLFile(draft: Draft<State>, actions) {

function handleLoadZIPFile(draft: Draft<State>, action) {
draft.data = action.payload;
changeSpectrumVerticalAlignment(draft, { checkData: true });
setActiveTab(draft);
draft.isLoading = false;
}
Expand Down
2 changes: 1 addition & 1 deletion src/data/data1d/filter1d/fft.ts
Expand Up @@ -26,7 +26,7 @@ export function apply(datum1D) {
}

datum1D.data.x = generateXAxis(datum1D);
datum1D.info = { ...datum1D.info, isFid: false };
datum1D.info = { ...datum1D.info, isFid: false, isFt: true };
}

export function isApplicable(datum1D) {
Expand Down

0 comments on commit 0e22f8c

Please sign in to comment.