ResliceCursorWidget first scrol tick ignore


I am trying to use ResliceCursorWidget to scroll through an image. The example vtk.js skips the first scroll tick on the 2D views. Is there a way to fix that?


With my mouse, it feels as if : if the scroll is too small, nothing scrolls. If it is a long scroll, then it does scroll.

It might simply be a rounding error…

@finetjul yes only the first tick is ignored, the subsequent ticks are fine. My guess is that there 3 events: startScroll and scroll and endScroll, where the startScroll is maybe preparing for the subsequent scrolls but not actually scrolling. It’s not a big issue, but it gives a feeling of a lag and makes it hard to scroll only once (especially if the mouse does not have pronounced ticks).