Skip to content
Commit 0720e5d1 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fixed Zoom/Pan with vastScrolling disabled

This patch finishes the set of patches which fixed bugs in zoom/pan and
added tests for it. This patch introduces the following:

1) We don't use documentOrigin() anymore. At all. The centering is done
directly inside the transformation inside the KisCoordinatesConverter.
2) Fixed bug when KisCanvasController used setScrollBarValue() for
correcting the offset, which caused poisoning of
preferredCenterFractionX/Y. This was quite subtle bug.
3) Added tests for rotation of the canvas with and without vast scrolling

BUG:296203
parent 2e274d71
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment