Closed christopher-l closed 6 years ago
Hello! Sorry for long response. As i understand this is pixel level scrolling. It is possible to emulate it by storing previous and next state of ui_model while process on_scroll event, but it looks like complex task.
Hi, Yes, actual pixel scrolling would be quite hard I guess. However, the reason for my pull request was that even normal scrolling didn't work on my laptop. So I tried to use the smooth scroll events to get normal scrolling, where mouse wheel events aren't available. Maybe, there is another way to get the system to pass normal scroll events to the application, but by default, it doesn't seem to always do that.
Ok, then if it work for you i can merge it.
Yes, for me it works.
I just wasn't sure, whether UiState
was the correct place to put the saved delta values.
UiState is ok 👍 Thanks
Still doesn't scroll smoothly, but enables scrolling when only smooth scroll events are emitted.
Not too sure what I'm doing here, so please tell if I used things in ways that weren't intended.