我使用Raphäel和Raphäel Sketchpad库在浏览器中创建了一个sketchpad,效果很好。我已经实现了Rapäel ZPD ()来在sketchpad/SVG容器div上进行平移/缩放。当我放大和缩小时,光标放错了地方(Firefox/Chrome)。/** */ var p = me.root.crea
$(".outer-box").hammer().bind("panright", function(event){ // panningshould move both boxes$(".outer-box").hammer().bind("panend", function(event){
// do stuff when p