Skip to content

Commit

Permalink
Fix default volume (#1395)
Browse files Browse the repository at this point in the history
With the update in #1378, the default volume is now erroneously set to 25% instead of 50%. Remove the Math.pow and set it to 50% instead.
  • Loading branch information
sparkhom committed Oct 7, 2021
1 parent 8bbb878 commit 86a87b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/reducers/playerReducer.js
Expand Up @@ -16,7 +16,7 @@ const initialState = {
queue: [],
current: {},
clear: false,
volume: Math.pow(0.5, 2), // 50%
volume: 0.5, // 50%
savedPlayIndex: 0,
}

Expand Down

0 comments on commit 86a87b4

Please sign in to comment.