Skip to content

Commit 68fbb84

Browse files
committed
fix: fixing lint
1 parent ee9ac11 commit 68fbb84

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

workspaces/simon-game/src/app/util/playSound.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ export const playSound = (
3434
gainNode.gain.setValueAtTime(volumePct, audioContext.currentTime);
3535

3636
// Creates the smooth fades-in / fade-out sound effect (Avoids the popping sounds)
37-
gainNode.gain.linearRampToValueAtTime(volumePct, audioContext.currentTime + 0.01);
37+
gainNode.gain.linearRampToValueAtTime(
38+
volumePct,
39+
audioContext.currentTime + 0.01,
40+
);
3841
gainNode.gain.linearRampToValueAtTime(
3942
0,
4043
audioContext.currentTime + durationMs / 1000 - 0.01,

0 commit comments

Comments
 (0)