fix audio-volume scrollwheel imprecision (#1054)

This commit is contained in:
shermanhlc 2025-11-30 11:24:28 -06:00 committed by GitHub
parent 98701b78e6
commit ca6d3a5c16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2449,7 +2449,7 @@ function mpause(e) {
return true;
dist *= -1;
mp.setvol(mp.vol + dist / 500);
mp.setvol(Math.round((mp.vol + dist / 500) * 100) / 100 );
vbar.draw();
ev(e);
};