JustAlittleWolf / SmoothScrollingRefurbished

Changes most scrollbars in the game to scroll smoothly.
MIT License
5 stars 0 forks source link

Scrolling with touchpad is broken #4

Open Felix14-v2 opened 5 months ago

Felix14-v2 commented 5 months ago

Description

Vanilla Minecraft supports smooth scrolling with touchpad gestures, but this functionality is broken with the SmoothScrolling mod.

Demo

Vanilla https://github.com/JustAlittleWolf/SmoothScrollingRefurbished/assets/75726196/3377f460-f350-40ef-a068-c793356e0a59
SmoothScrolling https://github.com/JustAlittleWolf/SmoothScrollingRefurbished/assets/75726196/af4ce635-49a0-4e6c-b1f0-aa5893c60704

Info

SmajloSlovakian commented 2 months ago

hi, i'm here just out of curiosity and i have noticed your issue... i'm the developer of a different smooth scrolling mod, which does add smooth scrolling to entry lists too. you seem to have installed my mod alongside this mod... i have already fixed this issue on my part a while back by automatically disabling my version of entry list smooth scrolling in favor of this mod. how do i know: there is no way that your first video is vanilla without my mod installed as vanilla does NOT have smooth scrolling anywhere in the game. you have only removed the ssrefurbished mod.

i know i'm a bit late here but i just wanted to let the dev know that they don't have anything to fix (that is if i'm actually right about the user using these two mods together)

Felix14-v2 commented 2 months ago

how do i know: there is no way that your first video is vanilla without my mod installed as vanilla does NOT have smooth scrolling anywhere in the game. you have only removed the ssrefurbished mod.

Sorry, but you are wrong :) Scrolling with touchpad is smooth in all apps because of the nature of the touch input. Scrolling with mouse wheel is discrete, but touchpad allows you to control the list position precisely in each moment of time (including Vanilla Minecraft, that's just how the touchpad driver works). So no, the first video was a pure vanilla (I always test bugs in an isolated instance).

SmajloSlovakian commented 2 months ago

how... i never got that to work because i assume vanilla minecraft only half-supports touchpad... it is like if you were to scroll with a scrollwheel without the resistance so you have to scroll by some amount physically so minecraft scrolls by one step (as if you scrolled on a scrollwheel by one step)...

what is the smallest amount you can scroll by in vanilla minecraft using the touchpad? i'm genuinely curious bc last i tested this, it worked just as i said...

SmajloSlovakian commented 2 months ago

i just tried it out and it works just like you said... i also tried it out on 1.12 and it works just like i said... so i'm not imabgining this... i also noticed that 1.12 uses a different version of lwjgl on prism launcher so that might be the thing that fixed that... idk which lwjgl version was originally used by minecraft 1.13+ but i think that somewhen the library got updated and so minecraft automatically started to support touchpad scrolling fully (on certain screens)