Create setPan at svg-editor.js to let move the document without pressing any key or mouse button. Usefull for future tablet/mobile edition

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2331 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Luis Aguirre 2013-02-07 11:47:17 +00:00
parent 522b0d6f35
commit 45389b6b94
1 changed files with 4 additions and 0 deletions

View File

@ -2055,6 +2055,10 @@
workarea.css('cursor', zoomInIcon);
}
})
Editor.setPan = function(active) {
svgCanvas.spaceKey = keypan = active;
}
}());