Skip to content

Commit

Permalink
Default to true for fft setting
Browse files Browse the repository at this point in the history
  • Loading branch information
reckter committed Dec 28, 2024
1 parent 2d4a062 commit c5249f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/lib/hydra-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class HydraWrapper {
if(window.strudel == undefined) return .5;

// If display settings are not enabled, we just return a default value
if(!this._displaySettings.enableFft) return .5;
if(!(this._displaySettings.enableFft ?? true)) return .5;

// Enable auto-analyze
window.strudel.enableAutoAnalyze = true;
Expand Down

0 comments on commit c5249f7

Please sign in to comment.