mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
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:
parent
7acc52bfa9
commit
ca557a513a
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user