I would like to keep the center of the viewport in the same place when I zoom in, right now the viewport stays at the same absolute top and left coordinate and the center moves.
I am attaching my zoom in click handler showing my calculations, but the center moves way too far over when I hit the zoom button.
Anyone have any insight into this?
I am attaching my zoom in click handler showing my calculations, but the center moves way too far over when I hit the zoom button.
Anyone have any insight into this?
Comment