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:
committed by
GitHub
parent
8bbb878bb3
commit
86a87b4bb1
@@ -16,7 +16,7 @@ const initialState = {
|
|||||||
queue: [],
|
queue: [],
|
||||||
current: {},
|
current: {},
|
||||||
clear: false,
|
clear: false,
|
||||||
volume: Math.pow(0.5, 2), // 50%
|
volume: 0.5, // 50%
|
||||||
savedPlayIndex: 0,
|
savedPlayIndex: 0,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user