From 7d8d94388bb02b3bebc3b245e186f4b3c2c4e91a Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 17 Aug 2024 20:36:59 +0000 Subject: [PATCH] invert volume scrollwheel also iirc some time ago we were talking about the scroll for volume ed and how its reversed is it reversed though? most people said it worked the way they expected fuck maybe i agreed back then too its the opposite in both aimp and mpv though is it w its a feature it's to keep you on your toes consciously use copyparty i can invert it no problem would be a nice surprise for anyone who's used it Scroll down turns the audio down right? ye it makes it louder in cpp why would scrolling down make something louder yeah that's odd scrolling up should make it louder It's what it does for me in winamp, mpc-hc and foobar2000. so now the question is who itc agreed to whats currently in cpp haha idk but i'm inverting it let's invert it every 6 months --- copyparty/web/browser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 551d2e25..8996eab9 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -2543,6 +2543,7 @@ function mpause(e) { if (!dist || !mp.au) return true; + dist *= -1; mp.setvol(mp.vol + dist / 500); vbar.draw(); ev(e);