Skip to content

Commit 6334c89

Browse files
demvladhaslinghuis
andauthored
Code style improvement
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
1 parent 3877f84 commit 6334c89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/graph_spectrum_plot.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1568,8 +1568,8 @@ GraphSpectrumPlot._drawMousePosition = function (
15681568
lineWidth
15691569
);
15701570

1571-
if (this._spectrumType == SPECTRUM_TYPE.PSD_VS_THROTTLE ||
1572-
this._spectrumType == SPECTRUM_TYPE.PSD_VS_RPM) {
1571+
if (this._spectrumType === SPECTRUM_TYPE.PSD_VS_THROTTLE ||
1572+
this._spectrumType === SPECTRUM_TYPE.PSD_VS_RPM) {
15731573
const label = Math.round(this.getValueFromMatrixFFT(mouseFrequency, vsArgValue)).toString() + "dBm/Hz";
15741574
this._drawAxisLabel(
15751575
canvasCtx,

0 commit comments

Comments
 (0)