[PATCH] Add support for zooming using the scroll-wheel

Dirk Hohndel dirk at hohndel.org
Mon Nov 12 18:55:44 PST 2012


Linus Torvalds <torvalds at linux-foundation.org> writes:

> From: Linus Torvalds <torvalds at linux-foundation.org>
> Date: Tue, 13 Nov 2012 01:44:16 +0100
> Subject: [PATCH] Add support for zooming using the scroll-wheel
>
> This allows zooming in with the scroll-wheel if you have one (or the
> two-finger scrolling on a touchpad).
>
> Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
> ---
>
> This is a nicer way to zoom in/out if you have the required scroll-wheel 
> or touchpad. 
>
> The "move around just by moving the mouse" (rather than dragging) may not 
> be very traditional, but it works for me. And it means that we share all 
> the zoom logic with the "click and hold" zoom model too.

I applied this as it is useful, but while I didn't mind the fact that
the font size was zommed as well in the click-zoom (with factor 2.5), as
one zooms in more with this implementations the font size becomes just
ridiculous... 

/D


More information about the subsurface mailing list