Layer 1 not centered when zooming with scroll

Issue #1 resolved
Francesco Cretti created an issue

Lo scroll da trackpad fa perdere la posizione centrale del muro: se alterno zoom in e out, con e senza scroll, dopo poco mi ritrovo il muro decentrato (ovvero se torno al layer 0 o 1 non è più in mezzo), senza possibilità di ricentrarlo

Comments (2)

  1. Francesco Cretti reporter

    The problem is due to OpenSeadragon management of the scroll event. It pans the viewer to the mouse pointer position while zooming.

  2. Francesco Cretti reporter

    Custom onScroll handler written. If goig to layer 0 or layer 1 --> zoom to image center and not to mouse pointer

  3. Log in to comment