Skip to content

Commit

Permalink
pas de QRN si pas en lecture
Browse files Browse the repository at this point in the history
  • Loading branch information
spasutto authored Jan 26, 2025
1 parent 17c8152 commit 20a0fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion morseplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class CWPlayer {
value = Math.min(CWPlayer.MAX_QRN, Math.max(CWPlayer.MIN_QRN, value));
if (value == this.options.qrn && value == this.noise?.quantity?.value) return;
this.options.qrn = value;
if (this.context) {
if (this.context && this.playing) {
this.noise.quantity.value = value;
}
this.fireEvent('parameterchanged', 'QRN');
Expand Down

0 comments on commit 20a0fc7

Please sign in to comment.