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

pull/1229/head
lyswhut 2023-03-04 16:26:39 +08:00
parent cb4ab411f9
commit 20294233e6
2 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@
### 优化
- 支持wy源flac hires歌曲类型的显示
- 快捷键调整音量时每次加减2%音量改为4%#1220
### 修复

View File

@ -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)
}