QUOTE(Rin Tohsaka @ Apr 13 2024, 04:47)
I don't know if it's my choice of browser (Pale Moon), my OS (Linux Mint 20.3 Xfce), or a combination of both or something different altogether, but I can't help but notice that your script and especially the modified version by LoXo results in every click of a scroll wheel scrolling less distance than it normally would compared to basically any other webpage (e.g. MPV without your script, normal non-MPV gallery mode, the search index, this forum, etc).
With your script, it seems to require 3 clicks of a scroll wheel when normally I'd only need 2.
But with LoXo's modification, even though it correctly only requires 2 scroll clicks when testing with the exact same image, it seems to not "stack" scroll clicks in that, if you quickly scroll the wheel like 8 clicks, it's treated as only like 2 clicks—basically it seems to require each individual scrolling "step" of animation to completely finish and will ignore any additional scroll clicks during this period.
Also, a possible mistake with LoXo's modification: It disables the Home and End keyboard keys (I do like its arrow key shortcuts however).
The one that I posted just removes the custom scrolling feature in mpv and restores the default scrolling.
With some imagination, I can see how it can cause scrolling to be slower in older machines/linux with its own weird implementation of everything. Try the implementation by x8720 and see if it works; if it doesn't then idk
The last one posted in the thread reimplements custom scrolling after it's being removed, defeating the original point so I don't quite get it
QUOTE(Rin Tohsaka @ Apr 13 2024, 04:47)
Lastly, I don't suppose it's within the scope of this script to possibly try fixing the issue where you can't have your mouse cursor on the farthest right edge of a maximized browser window (or I suppose a window pinned to the right half of your screen) as there seems to be around a 25% cursor's width of "dead space" between the farthest right edge and before scrolling actually functions.
This is caused by #pane_images being off by 5px from the right edge
You can fix this with custom stylesheet by moving it slightly to the right, and then recenter the image:
CODE
#pane_images { margin-left: 5px; }
#pane_images_inner { margin-left: -5px; }