From ca6d3a5c162cd6f9e3e8af42991dc4fcf68cf6b8 Mon Sep 17 00:00:00 2001 From: shermanhlc <100432197+shermanhlc@users.noreply.github.com> Date: Sun, 30 Nov 2025 11:24:28 -0600 Subject: [PATCH] fix audio-volume scrollwheel imprecision (#1054) --- copyparty/web/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 54b944e5..a29016c3 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -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); };