feat: 调整任务栏声音滚动条最小刻度值

任务栏音量调节滚动鼠标中键时,音量调整的幅度由原来的10%改为2%。

Log: 优化声音插件音量控制逻辑
Task: https://pms.uniontech.com/zentao/task-view-83800.html
Change-Id: I39fb5bba4836d8a39560daaa03448d0b605b237a
(cherry picked from commit 452dcbe2a81a00c1e0c995caeb90f81932b78f08)
This commit is contained in:
jiangzhicheng 2021-08-24 11:02:25 +08:00 committed by songwentao
parent 7acc52bfa9
commit ca557a513a

View File

@ -84,7 +84,7 @@ void VolumeSlider::wheelEvent(QWheelEvent *e)
m_timer->start();
DSlider::setValue(value() + (e->delta() > 0 ? 10 : -10));
DSlider::setValue(value() + (e->delta() > 0 ? 2 : -2));
}
void VolumeSlider::onTimeout()