Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions mods/taskbar-volume-control.wh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ issue](https://tweaker.userecho.com/topics/826-scroll-on-trackpadtouchpad-doesnt
$name: Volume change step
$description: >-
Allows to configure the volume change that will occur with each notch of
mouse wheel movement. This option has effect only for the Windows 11, None
control indicators. For the Windows 11 indicator, must be a multiple of 2.
mouse wheel movement. For the Windows 11 indicator, must be a multiple of 2.
For Windows 10 style indicator, the step-size is only respected before Volume
indicator appears, after that it has fixed `2` step-size (unforunately, no fix atm).
- oldTaskbarOnWin11: false
$name: Customize the old taskbar on Windows 11
$description: >-
Expand Down Expand Up @@ -659,7 +660,7 @@ BOOL OpenScrollSndVol(WPARAM wParam, LPARAM lMousePosParam) {
}

if (CanUseModernIndicator()) {
if (!AdjustVolumeLevelWithMouseWheel(GET_WHEEL_DELTA_WPARAM(wParam), 2))
if (!AdjustVolumeLevelWithMouseWheel(GET_WHEEL_DELTA_WPARAM(wParam), g_settings.volumeChangeStep))
return FALSE;

ShowSndVolModernIndicator();
Expand Down