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 GitHub
parent 8bbb878bb3
commit 86a87b4bb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,
}