Skip to content

Implement touchpad gestures for zooming in/out the canvas

This MR implements support for touchpad pinch gesture to control zoom within the canvas.

A separate zoom type has been added for such pinch gestures since smooth scrolling uses a delta multiplier to reduce zoom speed. We need a proper mapping between the distance change between fingers and the zoom of the image, so no multipliers are needed in this case.

Related to issue #717.

Edited by Povilas Kanapickas

Merge request reports