macOS Version(s) Used to Build
macOS 13 Ventura
Xcode Version(s)
Xcode 14
Description
Hi, pretty new to all this (using for a uni project) but pretty sure I have identified an error in the FFTView struct.
In FFTView.swift navigate to the body view, and there is an if statement:
if let amplitude = fft.amplitudes[$0]{
In the amplitude bar call in the if function(line 143), I believe it should pass:
backgroundColor: backgroundColor)
It passes it in the else statement so it should be passed in the if statement too, correct?
I would fork and stuff, but this is my first time properly using version control and I don't want to mess with stuff and delete my code before I know what I'm doing, sorry!
Crash Logs, Screenshots or Other Attachments (if applicable)
With original code:

With amended code:

macOS Version(s) Used to Build
macOS 13 Ventura
Xcode Version(s)
Xcode 14
Description
Hi, pretty new to all this (using for a uni project) but pretty sure I have identified an error in the FFTView struct.
In FFTView.swift navigate to the body view, and there is an if statement:
if let amplitude = fft.amplitudes[$0]{In the amplitude bar call in the if function(line 143), I believe it should pass:
backgroundColor: backgroundColor)It passes it in the else statement so it should be passed in the if statement too, correct?
I would fork and stuff, but this is my first time properly using version control and I don't want to mess with stuff and delete my code before I know what I'm doing, sorry!
Crash Logs, Screenshots or Other Attachments (if applicable)
With original code:

With amended code:
