Fix default volume (#1395)

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.
This commit is contained in:
Serguey Parkhomovsky 2021-10-07 14:21:08 -07:00 committed by Joe Stump
parent 66a4892b9b
commit 9827c06025
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -16,7 +16,7 @@ const initialState = {
queue: [],
current: {},
clear: false,
volume: Math.pow(0.5, 2), // 50%
volume: 0.5, // 50%
savedPlayIndex: 0,
}