mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
use exponencial volume
This commit is contained in:
parent
4dbcd420c5
commit
b9ce363ef3
@ -392,6 +392,8 @@ export default class Player extends Core {
|
|||||||
volume = 0
|
volume = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
volume = Math.pow(volume, 2)
|
||||||
|
|
||||||
this.state.volume = volume
|
this.state.volume = volume
|
||||||
|
|
||||||
AudioPlayerStorage.set("volume", volume)
|
AudioPlayerStorage.set("volume", volume)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user