]> sigrok.org Git - pulseview.git/commitdiff
viewport: Allow smoother zoom using vertical scroll events
authorSylvain Munaut <redacted>
Sun, 28 May 2017 14:53:27 +0000 (16:53 +0200)
committerUwe Hermann <redacted>
Sun, 28 May 2017 15:54:02 +0000 (17:54 +0200)
The zoom supports 'double' as input type but since delta() and 120 are
integer, this wasn't used and any event with a delta lower than 120 was
ignored.

With this mod, the zoom level changes are _much_ smoother on trackpads

Signed-off-by: Sylvain Munaut <redacted>

No differences found