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
This commit is contained in:
@@ -2055,6 +2055,10 @@
|
||||
workarea.css('cursor', zoomInIcon);
|
||||
}
|
||||
})
|
||||
|
||||
Editor.setPan = function(active) {
|
||||
svgCanvas.spaceKey = keypan = active;
|
||||
}
|
||||
}());
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user