快捷键调整音量时每次加减2%音量改为4%
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user