Skip to content

Commit

Permalink
imp - Reset volume when booster is off (CLI)
Browse files Browse the repository at this point in the history
---

When we need to turn off the volume booster, reset the volume to 1.0 if it's previously at 3.0.

---

Type: imp
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Sep 19, 2024
1 parent b013cfe commit 65c60ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BassBoom.Cli/CliBase/Common.cs
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ internal static void HandleKeypressCommon(ConsoleKeyInfo keystroke, Screen playe
break;
case ConsoleKey.V:
volBoost = !volBoost;
if (!volBoost && volume > 1.0)
RaiseVolume();
break;
case ConsoleKey.D:
if (keystroke.Modifiers == ConsoleModifiers.Control)
Expand Down

0 comments on commit 65c60ae

Please sign in to comment.