Skip to content
  • Dmitry Kazakov's avatar
    Fixed Zoom/Pan with vastScrolling disabled · 5dd1beba
    Dmitry Kazakov authored
    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
    5dd1beba