快捷键调整音量时每次加减2%音量改为4%

This commit is contained in:
lyswhut
2023-03-04 16:26:39 +08:00
parent cb4ab411f9
commit 20294233e6
2 changed files with 3 additions and 2 deletions
@@ -26,10 +26,10 @@ export default () => {
setVolume(_volume)
}
const handleSetVolumeUp = (step = 0.02) => {
const handleSetVolumeUp = (step = 0.04) => {
handleSetVolume(volume.value + step)
}
const handleSetVolumeDown = (step = 0.02) => {
const handleSetVolumeDown = (step = 0.04) => {
handleSetVolume(volume.value - step)
}