zoomooz

Zoomooz zoomContainer shift away

对着背影说爱祢 提交于 2019-12-07 09:22:40
问题 I am trying to use zoomooz + jquery.mouse.wheel and jquery.kinetic.js to implement a zoom in a free drag/scroll feature in a form designer. Here is a demo of the feature: http://jsfiddle.net/mVf8Z/ My problem is: "reset" button cannot reset the state to the original one. It zoom in the container and shift it a little bit to upper right of the view port when I zoom inside the container by using mousewheel, the container is able to zoom in, but it always shift away to the upper right conner of

Zoomooz zoomContainer shift away

纵饮孤独 提交于 2019-12-05 15:46:17
I am trying to use zoomooz + jquery.mouse.wheel and jquery.kinetic.js to implement a zoom in a free drag/scroll feature in a form designer. Here is a demo of the feature: http://jsfiddle.net/mVf8Z/ My problem is: "reset" button cannot reset the state to the original one. It zoom in the container and shift it a little bit to upper right of the view port when I zoom inside the container by using mousewheel, the container is able to zoom in, but it always shift away to the upper right conner of the view port Any idea where my code is wrong? Update After adding an additional layer, it looks like