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-75d572ba1dddmaster
parent
522b0d6f35
commit
45389b6b94
|
@ -2055,6 +2055,10 @@
|
|||
workarea.css('cursor', zoomInIcon);
|
||||
}
|
||||
})
|
||||
|
||||
Editor.setPan = function(active) {
|
||||
svgCanvas.spaceKey = keypan = active;
|
||||
}
|
||||
}());
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue