diff --git a/editor/svg-editor.js b/editor/svg-editor.js index b5153b20..81716634 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -2055,6 +2055,10 @@ workarea.css('cursor', zoomInIcon); } }) + + Editor.setPan = function(active) { + svgCanvas.spaceKey = keypan = active; + } }());